chore(web): move BaseModal to callback pattern (#8696)

* chore(web): move BaseModal to callback to close

* chore: add question mark
This commit is contained in:
Ben
2024-04-11 09:01:16 +00:00
committed by GitHub
parent 8c9a092561
commit 37eea2d353
16 changed files with 37 additions and 45 deletions
@@ -442,7 +442,7 @@
{#if showShareByURLModal}
<CreateSharedLinkModal
albumId={albumToShare.id}
on:close={() => closeShareModal()}
onClose={() => closeShareModal()}
on:created={() => albumToShare && handleSharedLinkCreated(albumToShare)}
/>
{:else}
@@ -450,7 +450,7 @@
album={albumToShare}
on:select={({ detail: users }) => handleAddUsers(users)}
on:share={() => (showShareByURLModal = true)}
on:close={() => closeShareModal()}
onClose={() => closeShareModal()}
/>
{/if}
{/if}