From 8700cde7cb0a9a8da176338f79036f97f5b573af Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Tue, 7 Nov 2023 17:11:58 +0100 Subject: [PATCH] fix: closing editors on search result page --- packages/web-pkg/src/components/AppTemplates/AppWrapper.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-pkg/src/components/AppTemplates/AppWrapper.vue b/packages/web-pkg/src/components/AppTemplates/AppWrapper.vue index 01acce0ad43..917a17951a7 100644 --- a/packages/web-pkg/src/components/AppTemplates/AppWrapper.vue +++ b/packages/web-pkg/src/components/AppTemplates/AppWrapper.vue @@ -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 } @@ -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)