mirror of
https://github.com/nasa/openmct.git
synced 2025-05-11 13:03:03 +00:00
changed computeResults
This commit is contained in:
parent
83d08ae369
commit
5498ba8e1e
@ -78,9 +78,7 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
let params = [];
|
||||
params.push(data[this.metadata]);
|
||||
if (this.input instanceof Array && this.input.length) {
|
||||
params.push(this.input[0]);
|
||||
} else {
|
||||
params.push(this.input);
|
||||
this.input.forEach(input => params.push(input));
|
||||
}
|
||||
if (typeof comparator === 'function') {
|
||||
result = comparator(params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user