Skip to content

Commit

Permalink
Merge pull request #9918 from owncloud/fix-closing-editors-search-res…
Browse files Browse the repository at this point in the history
…ult-page

fix: closing editors on search result page
  • Loading branch information
JammingBen authored Nov 8, 2023
2 parents 96a7370 + 8700cde commit 9a95076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-pkg/src/components/AppTemplates/AppWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export default defineComponent({
driveAliasAndItem
},
query: {
...unref(currentRoute).query,
fileId: id,
...(unref(currentRoute).query?.app && { app: unref(currentRoute).query?.app }),
contextRouteName: 'files-spaces-generic',
contextRouteParams: { driveAliasAndItem: dirname(driveAliasAndItem) } as any
}
Expand All @@ -186,9 +186,9 @@ export default defineComponent({
driveAliasAndItem
},
query: {
...unref(currentRoute).query,
fileId: id,
shareId: space.shareId,
...(unref(currentRoute).query?.app && { app: unref(currentRoute).query?.app }),
contextRouteName: path === '/' ? 'files-shares-with-me' : 'files-spaces-generic',
contextRouteParams: {
driveAliasAndItem: dirname(driveAliasAndItem)
Expand Down

0 comments on commit 9a95076

Please sign in to comment.