frontend: home in breadcrumbs was missing the 'reload' mechanism other folders had

Massimo Melina committed Feb 10, 2022 at 23:52 UTC 68eecdf258f90ab9710b596a5901abd5d9715b72
1 file changed +1 -1
frontend/src/Breadcrumbs.ts
+1 -1
@@ -12,7 +12,7 @@ export function Breadcrumbs() {
12 const breadcrumbs = currentPath ? currentPath.split('/').map(x => [prev = prev + x + '/', decodeURIComponent(x)]) : []
13 return h(Fragment, {},
14 h(Breadcrumb, { label: hIcon('parent', { alt:'parent folder' }), path: parent }),
15 - h(Breadcrumb, { label: hIcon('home', { alt:'home' }) }),
15 + h(Breadcrumb, { current: !currentPath, label: hIcon('home', { alt:'home' }) }),
16 breadcrumbs.map(([path,label]) =>
17 h(Breadcrumb, {
18 key: path,