fix: max expiration gets ignored if expiration is set to "never"

This commit is contained in:
Elias Schneider
2023-11-17 15:27:22 +01:00
parent 2e1a2b60c4
commit 330eef51e4
4 changed files with 13 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ const showShareInformationsModal = (
modals: ModalsContextProps,
share: MyShare,
appUrl: string,
maxShareSize: number
maxShareSize: number,
) => {
const t = translateOutsideContext();
const link = `${appUrl}/s/${share.id}`;