fix: shared-link-mapper

This commit is contained in:
Jason Rasmussen
2025-12-22 14:57:10 -05:00
parent 01e3b8e5df
commit ed8310af14
8 changed files with 64 additions and 84 deletions

View File

@@ -7,12 +7,12 @@
import { t } from 'svelte-i18n';
interface Props {
onClose: (success?: boolean) => void;
onClose: () => void;
albumId?: string;
assetIds?: string[];
}
let { onClose, albumId = $bindable(), assetIds = $bindable([]) }: Props = $props();
let { onClose, albumId, assetIds }: Props = $props();
let description = $state('');
let allowDownload = $state(true);
@@ -44,7 +44,7 @@
slug,
});
if (success) {
onClose(true);
onClose();
}
};
</script>