mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
[UBER-367] Fix url after closing an issue (#3357)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@icloud.com>
This commit is contained in:
parent
7391ce1c44
commit
e083998845
@ -232,10 +232,11 @@
|
||||
loc.path[2] = (currentAppAlias as string) ?? resolved.defaultLocation.path[2]
|
||||
loc.path[3] = currentSpace ?? (currentSpecial as string) ?? resolved.defaultLocation.path[3]
|
||||
if (loc.path[3] !== undefined) {
|
||||
loc.path[4] =
|
||||
(currentSpace !== undefined ? currentSpecial : undefined) ??
|
||||
(asideId as string) ??
|
||||
resolved.defaultLocation.path[4]
|
||||
if (loc.path[3] === resolved.defaultLocation.path[3]) {
|
||||
loc.path[4] = resolved.defaultLocation.path[4]
|
||||
} else {
|
||||
loc.path[4] = (currentSpace && currentSpecial) ?? (asideId as string)
|
||||
}
|
||||
} else {
|
||||
loc.path.length = 4
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user