Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/LADTable/components/LadTableSet.vue')
-rw-r--r--src/plugins/LADTable/components/LadTableSet.vue11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/LADTable/components/LadTableSet.vue b/src/plugins/LADTable/components/LadTableSet.vue
index 8d208cdc0..d03fb8318 100644
--- a/src/plugins/LADTable/components/LadTableSet.vue
+++ b/src/plugins/LADTable/components/LadTableSet.vue
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Open MCT, Copyright (c) 2014-2021, United States Government
+ * Open MCT, Copyright (c) 2014-2022, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
@@ -83,9 +83,12 @@ export default {
for (let ladTable of ladTables) {
for (let telemetryObject of ladTable) {
let metadata = this.openmct.telemetry.getMetadata(telemetryObject.domainObject);
- for (let metadatum of metadata.valueMetadatas) {
- if (metadatum.unit) {
- return true;
+
+ if (metadata) {
+ for (let metadatum of metadata.valueMetadatas) {
+ if (metadatum.unit) {
+ return true;
+ }
}
}
}