fix(#6854): [LADTableSet] prevent compositions from becoming reactive (#6855)

* fix: prevent compositions from becoming reactive
This commit is contained in:
Jesse Mazzella 2023-07-28 12:35:11 -07:00 committed by GitHub
parent 3c2b032526
commit 194eb43607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,6 @@ export default {
return { return {
ladTableObjects: [], ladTableObjects: [],
ladTelemetryObjects: {}, ladTelemetryObjects: {},
compositions: [],
viewContext: {}, viewContext: {},
staleObjects: [], staleObjects: [],
configuration: this.ladTableConfiguration.getConfiguration() configuration: this.ladTableConfiguration.getConfiguration()
@ -115,6 +114,9 @@ export default {
return ''; return '';
} }
}, },
created() {
this.compositions = [];
},
mounted() { mounted() {
this.ladTableConfiguration.on('change', this.handleConfigurationChange); this.ladTableConfiguration.on('change', this.handleConfigurationChange);
this.composition = this.openmct.composition.get(this.domainObject); this.composition = this.openmct.composition.get(this.domainObject);