mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 19:36:41 +00:00
handle multiple inputs in telemetryCriterion
This commit is contained in:
parent
f4f1d0387b
commit
70b5c627ca
@ -77,7 +77,7 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
let result = false;
|
||||
params.push(data[this.metadata]);
|
||||
if (this.input instanceof Array && this.input.length) {
|
||||
params.push(this.input[0]);
|
||||
this.input.forEach(input => {params.push(this.input[0])});
|
||||
} else if (this.input) {
|
||||
params.push(this.input);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user