enh: breadcrumbs icons are now more visually descriptive

Signed-off-by: Eduardo Morales <emoral435@gmail.com>
pull/43604/head
Eduardo Morales 4 months ago
parent bb87232882
commit bbf279f546

@ -30,6 +30,7 @@
v-bind="section"
dir="auto"
:to="section.to"
:icon-text="true"
:title="titleForSection(index, section)"
:aria-description="ariaForSection(section)"
@click.native="onClick(section.to)">
@ -119,7 +120,7 @@ export default defineComponent({
},
getDirDisplayName(path: string): string {
if (path === '/') {
return t('files', 'Home')
return this.$navigation?.active?.name || t('files', 'Home')
}
const fileId: number | undefined = this.getFileIdFromPath(path)

Loading…
Cancel
Save