diff --git a/web/src/lib/components/photos-page/actions/create-shared-link.svelte b/web/src/lib/components/photos-page/actions/create-shared-link.svelte index 7fee3668e3..f635240c36 100644 --- a/web/src/lib/components/photos-page/actions/create-shared-link.svelte +++ b/web/src/lib/components/photos-page/actions/create-shared-link.svelte @@ -6,7 +6,7 @@ import { getAssetControlContext } from '../asset-select-control-bar.svelte'; let showModal = false; - const { getAssets, clearSelect } = getAssetControlContext(); + const { getAssets } = getAssetControlContext(); (showModal = true)} /> @@ -15,9 +15,6 @@ { - showModal = false; - clearSelect(); - }} + on:close={() => (showModal = false)} /> {/if}