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
@@ -1,4 +1,5 @@
<script lang="ts">
import { shortcut } from '$lib/actions/shortcut';
import { handleRemoveSharedLinkAssets } from '$lib/services/shared-link.service';
import { getAssetControlContext } from '$lib/utils/context';
import { type SharedLinkResponseDto } from '@immich/sdk';
@@ -23,6 +24,8 @@
};
</script>
<svelte:document use:shortcut={{ shortcut: { key: 'Delete' }, onShortcut: handleSelect }} />
<IconButton
shape="round"
color="secondary"