mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 05:08:15 +00:00
[Edit] Hide root object
Act as if the object being edited is the root object when in Edit mode, except in the Library pane (which has its own means of getting the real root object.) WTD-922.
This commit is contained in:
@ -16,7 +16,7 @@ define(
|
||||
function updateRoot(domainObject) {
|
||||
var context = domainObject &&
|
||||
domainObject.getCapability('context'),
|
||||
newRoot = context && context.getRoot(),
|
||||
newRoot = context && context.getRealRoot(),
|
||||
oldId = root && root.getId(),
|
||||
newId = newRoot && newRoot.getId();
|
||||
|
||||
|
Reference in New Issue
Block a user