mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 04:38:15 +00:00
fix error in lad table config component
This commit is contained in:
@ -58,7 +58,8 @@ export default {
|
|||||||
isEditing: this.openmct.editor.isEditing(),
|
isEditing: this.openmct.editor.isEditing(),
|
||||||
configuration: ladTableConfiguration.getConfiguration(),
|
configuration: ladTableConfiguration.getConfiguration(),
|
||||||
items: [],
|
items: [],
|
||||||
ladTableObjects: []
|
ladTableObjects: [],
|
||||||
|
ladTelemetryObjects: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -146,11 +147,14 @@ export default {
|
|||||||
this.ladTableObjects.push(ladTable);
|
this.ladTableObjects.push(ladTable);
|
||||||
|
|
||||||
const composition = this.openmct.composition.get(ladTable.domainObject);
|
const composition = this.openmct.composition.get(ladTable.domainObject);
|
||||||
|
composition.on('add', this.addItem);
|
||||||
|
composition.on('remove', this.removeItem);
|
||||||
composition.load();
|
composition.load();
|
||||||
|
|
||||||
this.compositions.push({
|
this.compositions.push({
|
||||||
composition
|
composition,
|
||||||
|
addCallback: this.addItem,
|
||||||
|
removeCallback: this.removeItem
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
removeLadTable(identifier) {
|
removeLadTable(identifier) {
|
||||||
|
Reference in New Issue
Block a user