mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 17:38:53 +00:00
[Remove Action] Check
Added check for traverseObject context because prior to this, was not checked.
This commit is contained in:
parent
54bf39344a
commit
7ffbc9ad2f
@ -93,7 +93,7 @@ define(
|
||||
var traverseObject = (navigationService).getNavigation();
|
||||
|
||||
// Stop when object is not defined (above ROOT)
|
||||
while (traverseObject) {
|
||||
while (traverseObject && traverseObject.getCapability('context')) {
|
||||
|
||||
// If object currently traversed to is object being removed
|
||||
// navigate to parent of current object and then exit loop
|
||||
|
Loading…
Reference in New Issue
Block a user