mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): correct color for active tree item (#12318)
* fix(web): correct color for active tree item * remove white space
This commit is contained in:
parent
f8211a128e
commit
0a8bd7dc66
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user