Merge pull request #47719 from nextcloud/backport/stable30/47158

This commit is contained in:
John Molakvoæ 2024-09-03 21:44:03 +02:00 committed by GitHub
commit 74b73877f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View file

@ -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 },
}
}

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long