diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/BreadCrumbs.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue index e42efeb6a85..c423b698d40 100644 --- a/apps/files/src/components/BreadCrumbs.vue +++ b/apps/files/src/components/BreadCrumbs.vue @@ -83,7 +83,7 @@ export default defineComponent({ const pathsStore = usePathsStore() const selectionStore = useSelectionStore() const uploaderStore = useUploaderStore() - const { currentView } = useNavigation() + const { currentView, views } = useNavigation() return { draggingStore, @@ -93,6 +93,7 @@ export default defineComponent({ uploaderStore, currentView, + views, } }, @@ -171,8 +172,10 @@ export default defineComponent({ } } if (node === undefined) { + const view = this.views.find(view => view.params?.dir === dir) return { ...this.$route, + params: { fileid: view?.params?.fileid ?? '' }, query: { dir }, } } |