mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
[UBERF-63] Fixed aside panel in Inbox (#3642)
Signed-off-by: Oleg Solodkov <oleg.solodkov@xored.com>
This commit is contained in:
parent
af73876255
commit
c3197951c8
@ -240,9 +240,11 @@
|
||||
const resolvedSpace = resolved.loc.path[3]
|
||||
const resolvedSpecial = resolved.loc.path[4]
|
||||
if (resolvedApp === undefined) {
|
||||
const isSameApp = currentAppAlias === loc.path[2]
|
||||
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) {
|
||||
if (loc.path[3] !== undefined && isSameApp) {
|
||||
// setting space special/aside only if it belongs to the same app
|
||||
if (loc.path[3] === resolved.defaultLocation.path[3]) {
|
||||
loc.path[4] = resolved.defaultLocation.path[4]
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user