Skip to content

Commit 775c89f

Browse files
committed
enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
1 parent fcfd530 commit 775c89f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/files/src/components/BreadCrumbs.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
v-bind="section"
3131
dir="auto"
3232
:to="section.to"
33+
:icon-text="true"
3334
:title="titleForSection(index, section)"
3435
:aria-description="ariaForSection(section)"
3536
@click.native="onClick(section.to)">
@@ -119,7 +120,7 @@ export default defineComponent({
119120
},
120121
getDirDisplayName(path: string): string {
121122
if (path === '/') {
122-
return t('files', 'Home')
123+
return this.$navigation.active.name || t('files', 'Home')
123124
}
124125
125126
const fileId: number | undefined = this.getFileIdFromPath(path)

0 commit comments

Comments
 (0)