From df972ef7111d7b503cf46d5ff1c6c87ece15f164 Mon Sep 17 00:00:00 2001
From: Ben <35833890+IMBeniamin@users.noreply.github.com>
Date: Thu, 14 Nov 2024 23:06:36 +0100
Subject: [PATCH] feat(web): Added tag button to the context menu in the
favorites page (#14156)
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 8699582f9a..6635eda6e9 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)} />