mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 05:38:12 +00:00
* [#3789] Don't observe objects if they are already mutable objects. Add some null checks. * Don't destroy mutable in Selection.js if it wasn't created in that context. * Remove * listeners and add null checks * Don't delete _observers and _globalEventEmitters on $destroy. Pop all items off the _observers list for a mutable domain object. Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -222,11 +222,15 @@ define([
|
||||
getColumnMapForObject(objectKeyString) {
|
||||
let columns = this.configuration.getColumns();
|
||||
|
||||
return columns[objectKeyString].reduce((map, column) => {
|
||||
map[column.getKey()] = column;
|
||||
if (columns[objectKeyString]) {
|
||||
return columns[objectKeyString].reduce((map, column) => {
|
||||
map[column.getKey()] = column;
|
||||
|
||||
return map;
|
||||
}, {});
|
||||
return map;
|
||||
}, {});
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
addColumnsForObject(telemetryObject) {
|
||||
|
Reference in New Issue
Block a user