diff --git a/src/plugins/condition/criterion/TelemetryCriterion.js b/src/plugins/condition/criterion/TelemetryCriterion.js index 9f02851a6e..0637c34269 100644 --- a/src/plugins/condition/criterion/TelemetryCriterion.js +++ b/src/plugins/condition/criterion/TelemetryCriterion.js @@ -52,7 +52,7 @@ export default class TelemetryCriterion extends EventEmitter { } emitResult(data, error) { - this.emit('criterion::Update', { + this.emit('criterionUpdated', { identifier: this.telemetryObjectIdAsString, data: data, error: error diff --git a/src/plugins/condition/criterion/TelemetryCriterionSpec.js b/src/plugins/condition/criterion/TelemetryCriterionSpec.js index c49cd96bd8..302e706dd7 100644 --- a/src/plugins/condition/criterion/TelemetryCriterionSpec.js +++ b/src/plugins/condition/criterion/TelemetryCriterionSpec.js @@ -58,7 +58,7 @@ describe("The telemetry criterion", function () { openmct ); - telemetryCriterion.on('criterion::Update', mockListener); + telemetryCriterion.on('criterionUpdated', mockListener); });