mirror of
https://github.com/nasa/openmct.git
synced 2025-02-01 16:58:04 +00:00
Fixes this for the handleConditionUpdated function
This commit is contained in:
parent
36222d79c6
commit
1dc4f9f6bb
@ -98,7 +98,7 @@ export default class ConditionClass extends EventEmitter {
|
||||
addCriterion(criterionDefinition) {
|
||||
let criterionDefinitionWithId = this.generateCriterion(criterionDefinition || null);
|
||||
let criterion = new TelemetryCriterion(criterionDefinitionWithId, this.openmct);
|
||||
criterion.on('criterionUpdated', this.handleCriterionUpdated);
|
||||
criterion.on('criterionUpdated', (obj) => this.this.handleCriterionUpdated(obj));
|
||||
if (!this.criteria) {
|
||||
this.criteria = [];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user