mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
handle multiple inputs in telemetryCriterion
This commit is contained in:
parent
8f87cc78e8
commit
d46310ca7d
@ -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