fix error in lad table config component

This commit is contained in:
Jamie V
2025-01-22 12:44:28 -08:00
parent 1934aea9f9
commit 567aa69d27

View File

@ -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) {