mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue