mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
fix(web): leave assets selected after creating a shared link (#3531)
This commit is contained in:
parent
a405fba3bb
commit
e4e049d040
@ -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)} />
|
||||
@ -15,9 +15,6 @@
|
||||
<CreateSharedLinkModal
|
||||
sharedAssets={Array.from(getAssets())}
|
||||
shareType={SharedLinkType.Individual}
|
||||
on:close={() => {
|
||||
showModal = false;
|
||||
clearSelect();
|
||||
}}
|
||||
on:close={() => (showModal = false)}
|
||||
/>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user