From e4e049d040277f2234f8ca301000c734da191e2a Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Thu, 3 Aug 2023 10:11:02 -0400 Subject: [PATCH] fix(web): leave assets selected after creating a shared link (#3531) --- .../photos-page/actions/create-shared-link.svelte | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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}