Skip to content

Commit

Permalink
enh: breadcrumbs icons are now more visually descriptive
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Morales <[email protected]>
  • Loading branch information
emoral435 committed Feb 15, 2024
1 parent 1f0cba5 commit 3bd5995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files/src/components/BreadCrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)">
Expand Down Expand Up @@ -119,7 +120,7 @@ export default defineComponent({
},
getDirDisplayName(path: string): string {
if (path === '/') {
return t('files', 'Home')
return t('files', this.$navigation.active.name)
}
const fileId: number | undefined = this.getFileIdFromPath(path)
Expand Down

0 comments on commit 3bd5995

Please sign in to comment.