aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/BreadCrumbs.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/BreadCrumbs.vue')
-rw-r--r--apps/files/src/components/BreadCrumbs.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue
index c423b698d40..5f30da9c3b2 100644
--- a/apps/files/src/components/BreadCrumbs.vue
+++ b/apps/files/src/components/BreadCrumbs.vue
@@ -155,7 +155,7 @@ export default defineComponent({
},
getDirDisplayName(path: string): string {
if (path === '/') {
- return this.$navigation?.active?.name || t('files', 'Home')
+ return this.currentView?.name || t('files', 'Home')
}
const source = this.getFileSourceFromPath(path)