mirror of
https://github.com/nasa/openmct.git
synced 2025-02-14 14:42:35 +00:00
handle no data
This commit is contained in:
parent
bc4893f70b
commit
0d675c13c7
@ -38,7 +38,7 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
*/
|
||||
constructor(telemetryDomainObjectDefinition, openmct) {
|
||||
super();
|
||||
console.log('TelemetryCriterion constructor');
|
||||
|
||||
this.openmct = openmct;
|
||||
this.telemetryDomainObjectDefinition = telemetryDomainObjectDefinition;
|
||||
this.id = telemetryDomainObjectDefinition.id;
|
||||
@ -223,7 +223,6 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
return this.openmct.telemetry
|
||||
.request(this.telemetryObject, options)
|
||||
.then((results) => {
|
||||
console.log('results', results);
|
||||
const latestDatum = results.length ? results[results.length - 1] : {};
|
||||
const normalizedDatum = this.createNormalizedDatum(latestDatum, telemetryObject);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user