clear query when navigate to settings (#3371)

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
Ruslan Bayandinov 2023-06-07 11:04:55 +07:00 committed by GitHub
parent 8e11da1a2f
commit bec400bfc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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