fix(files): Keep query when trigger the sidebar action

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-05-31 16:00:10 +02:00
parent 423c93087e
commit fbceac9fe1
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -43,7 +43,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,
)