mirror of
https://github.com/nasa/openmct.git
synced 2025-04-08 20:04:27 +00:00
[Context] Communicate root object
Fix logic in determining which object is root, WTD-922.
This commit is contained in:
parent
c7149437fc
commit
ab8215cd17
@ -80,7 +80,8 @@ define(
|
||||
parentObject.getCapability('context');
|
||||
|
||||
return parentContext ?
|
||||
parentContext.getRoot() : domainObject;
|
||||
parentContext.getRoot() :
|
||||
(parentObject || domainObject);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user