mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
UBER-957 Fix Settings navigation (#3769)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
7f1d23ffa1
commit
4d91a07cc1
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user