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