fix(web): handle delete shortcut on shared link page as remove (#26552)

This commit is contained in:
Mees Frensel
2026-02-27 12:50:06 +01:00
committed by GitHub
parent 334fc250d3
commit a100a4025e
3 changed files with 14 additions and 5 deletions
@@ -140,7 +140,7 @@
</ControlAppBar>
{/if}
<section class="my-40 mx-4" bind:clientHeight={viewport.height} bind:clientWidth={viewport.width}>
<GalleryViewer {assets} {assetInteraction} {viewport} />
<GalleryViewer {assets} {assetInteraction} {viewport} allowDeletion={false} />
</section>
{:else if assets.length === 1}
{#await getAssetInfo({ ...authManager.params, id: assets[0].id }) then asset}