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 16, 2024
1 parent bb87232 commit bbf279f
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 this.$navigation?.active?.name || t('files', 'Home')
}
const fileId: number | undefined = this.getFileIdFromPath(path)
Expand Down

0 comments on commit bbf279f

Please sign in to comment.