removing checkforunits function

This commit is contained in:
Jamie Vigliotta 2020-07-24 10:51:52 -07:00
parent 5e21f98309
commit 72f7ec1481

View File

@ -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;
}
}
}