UBER-957 Fix Settings navigation (#3769)

Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2023-09-30 23:52:52 +07:00 committed by GitHub
parent 7f1d23ffa1
commit 4d91a07cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,12 @@
loc.fragment = undefined
loc.query = undefined
loc.path[2] = settingId
if (sp) loc.path[3] = sp.name
loc.path.length = 4
if (sp) {
loc.path[3] = sp.name
loc.path.length = 4
} else {
loc.path.length = 3
}
navigate(loc)
}