enh: breadcrumbs icons are now more visually descriptive

Signed-off-by: Eduardo Morales <emoral435@gmail.com>
This commit is contained in:
Eduardo Morales 2024-02-15 09:20:32 -06:00
parent 21bc3a3de7
commit fdc379b8f5

View file

@ -8,6 +8,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)">
@ -95,7 +96,7 @@ export default Vue.extend({
},
getDirDisplayName(path) {
if (path === '/') {
return t('files', 'Home')
return this.$navigation?.active?.name || t('files', 'Home')
}
const fileId = this.getFileIdFromPath(path)