From 72f7ec14815737869cd4bb7b5de2f06122cec61d Mon Sep 17 00:00:00 2001 From: Jamie Vigliotta Date: Fri, 24 Jul 2020 10:51:52 -0700 Subject: [PATCH] removing checkforunits function --- src/plugins/LADTable/components/LadTableSet.vue | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/plugins/LADTable/components/LadTableSet.vue b/src/plugins/LADTable/components/LadTableSet.vue index b6ba51ae1b..afd776d1a2 100644 --- a/src/plugins/LADTable/components/LadTableSet.vue +++ b/src/plugins/LADTable/components/LadTableSet.vue @@ -156,23 +156,6 @@ export default { this.$set(this.secondaryTelemetryObjects, primary.key, array); } - }, - checkForUnits() { - for(let telemetryObject in this.secondaryTelemetryObjects) { - if(this.secondaryTelemetryObjects[telemetryObject]) { - let objects = this.secondaryTelemetryObjects[telemetryObject]; - for(let current of objects) { - let metadata = this.openmct.telemetry.getMetadata(current.domainObject); - for(let metadatum of metadata.valueMetadatas) { - if(metadatum.unit) { - this.hasUnits = true; - return; - } - } - } - } - } - this.hasUnits = false; } } }