High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): Added tag button to the context menu in the favorites page (#14156)
Bendf972ef7111d
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.svelteindex 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 @@<ChangeDate menuItem /><ChangeLocation menuItem /><ArchiveAction menuItem unarchive={isAllArchive} onArchive={(assetIds) => assetStore.removeAssets(assetIds)} />+ {#if $preferences.tags.enabled}+ <TagAction menuItem />+ {/if}<DeleteAssets menuItem onAssetDelete={(assetIds) => assetStore.removeAssets(assetIds)} /></ButtonContextMenu></AssetSelectControlBar>