mirror of
https://github.com/nasa/openmct.git
synced 2025-04-21 01:21:19 +00:00
Merge branch 'conditionals-refactor' into dave/provide-conditions-telemetry
This commit is contained in:
commit
583f4dac85
@ -79,6 +79,8 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
params.push(data[this.metadata]);
|
||||
if (this.input instanceof Array && this.input.length) {
|
||||
params.push(this.input[0]);
|
||||
} else {
|
||||
params.push(this.input);
|
||||
}
|
||||
if (typeof comparator === 'function') {
|
||||
result = comparator(params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user