mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 00:37:47 +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.fragment = undefined
|
||||||
loc.query = undefined
|
loc.query = undefined
|
||||||
loc.path[2] = settingId
|
loc.path[2] = settingId
|
||||||
if (sp) loc.path[3] = sp.name
|
if (sp) {
|
||||||
loc.path.length = 4
|
loc.path[3] = sp.name
|
||||||
|
loc.path.length = 4
|
||||||
|
} else {
|
||||||
|
loc.path.length = 3
|
||||||
|
}
|
||||||
navigate(loc)
|
navigate(loc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user