aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/BreadCrumbs.vue
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-07-22 17:54:20 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-07-25 01:24:26 +0200
commitf95d8263f68192bf9376127695238ce19c09f9e6 (patch)
treea8d9d86e2062fcc99c6ec4ed2e68cf41b9f42b51 /apps/files/src/components/BreadCrumbs.vue
parent228301026141f818ec183a3a42163f05696773e2 (diff)
downloadnextcloud-server-f95d8263f68192bf9376127695238ce19c09f9e6.tar.gz
nextcloud-server-f95d8263f68192bf9376127695238ce19c09f9e6.zip
chore(deps): Update `@nextcloud/files` to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components/BreadCrumbs.vue')
-rw-r--r--apps/files/src/components/BreadCrumbs.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue
index 02ccac8b669..169bc504ab9 100644
--- a/apps/files/src/components/BreadCrumbs.vue
+++ b/apps/files/src/components/BreadCrumbs.vue
@@ -158,9 +158,9 @@ export default defineComponent({
return this.$navigation?.active?.name || t('files', 'Home')
}
- const source: FileSource | null = this.getFileSourceFromPath(path)
- const node: Node | undefined = source ? this.getNodeFromSource(source) : undefined
- return node?.attributes?.displayname || basename(path)
+ const source = this.getFileSourceFromPath(path)
+ const node = source ? this.getNodeFromSource(source) : undefined
+ return node?.displayname || basename(path)
},
onClick(to) {