High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(web): switch to writable derived one more place (#17399)
Ben McCann31ee19181a61
diff --git a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelteindex bf423e4825..8bb43676e8 100644--- a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -44,11 +44,7 @@$effect(() => void assetStore.updateOptions({ deferInit: !tag, tagId }));onDestroy(() => assetStore.destroy());- let tags = $state<TagResponseDto[]>([]);- $effect(() => {- tags = data.tags;- });-+ let tags = $derived<TagResponseDto[]>(data.tags);let tagsMap = $derived(buildMap(tags));let tag = $derived(currentPath ? tagsMap[currentPath] : null);let tagId = $derived(tag?.id);