From 349b909224e8798e5b02ae56750cded03ea1e1bd Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Fri, 28 Jul 2023 11:56:20 -0700 Subject: [PATCH 1/2] fix: prevent compositions from becoming reactive --- src/plugins/LADTable/components/LadTableSet.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/LADTable/components/LadTableSet.vue b/src/plugins/LADTable/components/LadTableSet.vue index 4f4fcbf2435..399c2a64cac 100644 --- a/src/plugins/LADTable/components/LadTableSet.vue +++ b/src/plugins/LADTable/components/LadTableSet.vue @@ -70,11 +70,13 @@ export default { required: true } }, + created() { + this.compositions = []; + }, data() { return { ladTableObjects: [], ladTelemetryObjects: {}, - compositions: [], viewContext: {}, staleObjects: [], configuration: this.ladTableConfiguration.getConfiguration() From 6f48efa688d50f2134f43df94c1073d3911abb69 Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Fri, 28 Jul 2023 12:08:52 -0700 Subject: [PATCH 2/2] refactor: lint:fix --- src/plugins/LADTable/components/LadTableSet.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/LADTable/components/LadTableSet.vue b/src/plugins/LADTable/components/LadTableSet.vue index 399c2a64cac..a104fbe87ac 100644 --- a/src/plugins/LADTable/components/LadTableSet.vue +++ b/src/plugins/LADTable/components/LadTableSet.vue @@ -70,9 +70,6 @@ export default { required: true } }, - created() { - this.compositions = []; - }, data() { return { ladTableObjects: [], @@ -117,6 +114,9 @@ export default { return ''; } }, + created() { + this.compositions = []; + }, mounted() { this.ladTableConfiguration.on('change', this.handleConfigurationChange); this.composition = this.openmct.composition.get(this.domainObject);