fix: (regression) clicking on last breadcrumb wasn't refreshing anymore
Massimo Melina committed
Apr 8, 2023 at 10:19 UTC
e5dc18d4ece7b3c9cc1e2fb07792125225c8b475
1 file changed
+1
-1
frontend/src/Breadcrumbs.ts
+1
-1
@@ -22,7 +22,7 @@ export function Breadcrumbs() {
22
key: path,
23
path,
24
label,
25
- current: path === currentPath+'/',
25
+ current: path.slice(1,-1) === currentPath,
26
}) )
27
)
28
}