High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): correct color for active tree item (#12318)
Alex0a8bd7dc661e
diff --git a/web/src/lib/components/shared-components/tree/tree.svelte b/web/src/lib/components/shared-components/tree/tree.svelteindex 5bc7a715ac..5c4b367a54 100644--- a/web/src/lib/components/shared-components/tree/tree.svelte+++ b/web/src/lib/components/shared-components/tree/tree.svelte@@ -13,7 +13,7 @@export let getColor: (path: string) => string | undefined;$: path = normalizeTreePath(`${parent}/${value}`);- $: isActive = active.startsWith(path);+ $: isActive = active === path || active.startsWith(`${path}/`);$: isOpen = isActive;$: isTarget = active === path;$: color = getColor(path);