Skip to content

Commit

Permalink
fix(web): leave assets selected after creating a shared link (immich-…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Aug 3, 2023
1 parent a405fba commit e4e049d
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { getAssetControlContext } from '../asset-select-control-bar.svelte';
let showModal = false;
const { getAssets, clearSelect } = getAssetControlContext();
const { getAssets } = getAssetControlContext();
</script>

<CircleIconButton title="Share" logo={ShareVariantOutline} on:click={() => (showModal = true)} />
Expand All @@ -15,9 +15,6 @@
<CreateSharedLinkModal
sharedAssets={Array.from(getAssets())}
shareType={SharedLinkType.Individual}
on:close={() => {
showModal = false;
clearSelect();
}}
on:close={() => (showModal = false)}
/>
{/if}

0 comments on commit e4e049d

Please sign in to comment.