fix(web): shared link expiry does not save

pull/24569/head
Yaros 2025-12-14 11:54:20 +01:00
parent 33cdea88aa
commit fb2d918c94
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@
let allowDownload = $state(true);
let allowUpload = $state(false);
let showMetadata = $state(true);
let expirationOption: number = $state(0);
let password = $state('');
let slug = $state('');
let expiresAt = $state<string | null>(null);
@ -37,7 +36,7 @@
type: shareType,
albumId,
assetIds,
expiresAt: expirationOption > 0 ? DateTime.now().plus(expirationOption).toISO() : undefined,
expiresAt: expiresAt,
allowUpload,
description,
password,