mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
TSK-1242 Short link for organization in recruit (#3008)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -232,7 +232,10 @@
|
||||
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] = currentSpecial ?? (asideId as string) ?? resolved.defaultLocation.path[4]
|
||||
loc.path[4] =
|
||||
(currentSpace !== undefined ? currentSpecial : undefined) ??
|
||||
(asideId as string) ??
|
||||
resolved.defaultLocation.path[4]
|
||||
} else {
|
||||
loc.path.length = 4
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user