diff options
author | Eduardo Morales <emoral435@gmail.com> | 2024-02-15 09:20:32 -0600 |
---|---|---|
committer | Eduardo Morales <emoral435@gmail.com> | 2024-02-16 08:33:03 -0600 |
commit | bbf279f5460f9431f3b9cb14a6767d01138d676b (patch) | |
tree | b009d675d34a8d30745809b157f38c03e18fe4cb /apps/files | |
parent | bb87232882f99c025ef224fb24aefd240b7d0c96 (diff) | |
download | nextcloud-server-bbf279f5460f9431f3b9cb14a6767d01138d676b.tar.gz nextcloud-server-bbf279f5460f9431f3b9cb14a6767d01138d676b.zip |
enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/BreadCrumbs.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue index f50a4d14fd8..88b976f93da 100644 --- a/apps/files/src/components/BreadCrumbs.vue +++ b/apps/files/src/components/BreadCrumbs.vue @@ -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) |