mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 18:57:01 +00:00
Define metadata when component is created. (#2237)
This commit is contained in:
parent
5928a102a6
commit
981392ea07
@ -164,9 +164,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.metadata = this.openmct.telemetry.getMetadata(this.item.domainObject);
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.limitEvaluator = this.openmct.telemetry.limitEvaluator(this.item.domainObject);
|
this.limitEvaluator = this.openmct.telemetry.limitEvaluator(this.item.domainObject);
|
||||||
this.metadata = this.openmct.telemetry.getMetadata(this.item.domainObject);
|
|
||||||
this.formats = this.openmct.telemetry.getFormatMap(this.metadata);
|
this.formats = this.openmct.telemetry.getFormatMap(this.metadata);
|
||||||
|
|
||||||
this.requestHistoricalData();
|
this.requestHistoricalData();
|
||||||
|
Loading…
Reference in New Issue
Block a user