From add7d7cbab41bd31610a879694583188354bc227 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Wed, 27 Jul 2022 12:48:43 +0200 Subject: [PATCH] fix: don't overwrite item in redirect --- packages/web-app-files/src/views/Personal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-app-files/src/views/Personal.vue b/packages/web-app-files/src/views/Personal.vue index 13595eb4d84..8d7ee6baf81 100644 --- a/packages/web-app-files/src/views/Personal.vue +++ b/packages/web-app-files/src/views/Personal.vue @@ -199,7 +199,7 @@ export default defineComponent({ return this.$router.replace({ to, - params: { ...to.params, storageId, item: '/' }, + params: { ...to.params, storageId, item: to.params.item || '/' }, query: to.query }) }