tooltips on home and parent-folder

Massimo Melina committed Apr 2, 2023 at 22:33 UTC 60e662387c470836642843e463e848b90061d9d1
1 file changed +2 -2
frontend/src/Breadcrumbs.ts
+2 -2
@@ -15,8 +15,8 @@ export function Breadcrumbs() {
15 const breadcrumbs = currentPath ? currentPath.split('/').map(x => [prev += x + '/', decodeURIComponent(x)]) : []
16 const {t} = useI18N()
17 return h(Fragment, {},
18 - h(Breadcrumb, { label: hIcon('parent', { alt: t`parent folder` }), path: parent }),
19 - h(Breadcrumb, { label: hIcon('home', { alt: t`home` }), path: base, current: !currentPath }),
18 + h(Breadcrumb, { label: hIcon('parent', { title: t`parent folder` }), path: parent }),
19 + h(Breadcrumb, { label: hIcon('home', { title: t`home` }), path: base, current: !currentPath }),
20 breadcrumbs.map(([path,label]) =>
21 h(Breadcrumb, {
22 key: path,