aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/actions
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-05-31 16:00:10 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-06-08 15:09:18 +0000
commite6fc2e4a82096df9a1948f56d8531fa9a858091b (patch)
tree450498095bb1b35d36e6753e5f197d576abf3e2e /apps/files/src/actions
parent684c067511e16e20a00e45bd767dc80732759ce4 (diff)
downloadnextcloud-server-e6fc2e4a82096df9a1948f56d8531fa9a858091b.tar.gz
nextcloud-server-e6fc2e4a82096df9a1948f56d8531fa9a858091b.zip
fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/actions')
-rw-r--r--apps/files/src/actions/sidebarAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/actions/sidebarAction.ts b/apps/files/src/actions/sidebarAction.ts
index 32cd8e6d433..0db98546934 100644
--- a/apps/files/src/actions/sidebarAction.ts
+++ b/apps/files/src/actions/sidebarAction.ts
@@ -60,7 +60,7 @@ export const action = new FileAction({
window.OCP.Files.Router.goToRoute(
null,
{ view: view.id, fileid: node.fileid },
- { dir },
+ { ...window.OCP.Files.Router.query, dir },
true,
)