From f357accd8322b0c1f55142e099cc60fc2bfa0a59 Mon Sep 17 00:00:00 2001 From: IMBeniamin Date: Thu, 14 Nov 2024 22:06:10 +0100 Subject: [PATCH] Added tag action to the context menu in the favorites page when selection is active --- .../favorites/[[photos=photos]]/[[assetId=id]]/+page.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/routes/(user)/favorites/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/favorites/[[photos=photos]]/[[assetId=id]]/+page.svelte index 8699582f9ae22..6635eda6e98de 100644 --- a/web/src/routes/(user)/favorites/[[photos=photos]]/[[assetId=id]]/+page.svelte +++ b/web/src/routes/(user)/favorites/[[photos=photos]]/[[assetId=id]]/+page.svelte @@ -20,6 +20,8 @@ import { mdiDotsVertical, mdiPlus } from '@mdi/js'; import { t } from 'svelte-i18n'; import { onDestroy } from 'svelte'; + import { preferences } from '$lib/stores/user.store'; + import TagAction from '$lib/components/photos-page/actions/tag-action.svelte'; interface Props { data: PageData; @@ -53,6 +55,9 @@ assetStore.removeAssets(assetIds)} /> + {#if $preferences.tags.enabled} + + {/if} assetStore.removeAssets(assetIds)} />