From bec400bfc8d135b6a93347ab482e7d641bb0924b Mon Sep 17 00:00:00 2001 From: Ruslan Bayandinov <45530296+wazsone@users.noreply.github.com> Date: Wed, 7 Jun 2023 11:04:55 +0700 Subject: [PATCH] clear query when navigate to settings (#3371) Signed-off-by: Ruslan Bayandinov --- plugins/workbench-resources/src/components/AccountPopup.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/workbench-resources/src/components/AccountPopup.svelte b/plugins/workbench-resources/src/components/AccountPopup.svelte index f22e8da731..9288185426 100644 --- a/plugins/workbench-resources/src/components/AccountPopup.svelte +++ b/plugins/workbench-resources/src/components/AccountPopup.svelte @@ -69,6 +69,8 @@ closePopup() closePanel() const loc = getCurrentResolvedLocation() + loc.fragment = undefined + loc.query = undefined loc.path[2] = settingId if (sp) loc.path[3] = sp.name loc.path.length = 4