summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorEduardo Morales <emoral435@gmail.com>2024-02-15 09:20:32 -0600
committerEduardo Morales <emoral435@gmail.com>2024-02-21 08:38:30 -0600
commitfdc379b8f5ea24cb0997fac3ff919cc03f3794ea (patch)
tree0dace14f5c7180980c905c601b72e147a7ce9ce8 /apps
parent21bc3a3de70f6aa0ca44e0344327d2f2ce8390dc (diff)
downloadnextcloud-server-fdc379b8f5ea24cb0997fac3ff919cc03f3794ea.tar.gz
nextcloud-server-fdc379b8f5ea24cb0997fac3ff919cc03f3794ea.zip
enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/components/BreadCrumbs.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue
index bc177fb1989..8f088892667 100644
--- a/apps/files/src/components/BreadCrumbs.vue
+++ b/apps/files/src/components/BreadCrumbs.vue
@@ -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)