Skip to content

Commit

Permalink
handle no data
Browse files Browse the repository at this point in the history
  • Loading branch information
jvigliotta committed Jan 31, 2025
1 parent bc4893f commit 0d675c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/condition/criterion/TelemetryCriterion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 0d675c1

Please sign in to comment.