mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 10:46:42 +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;
|
let result = false;
|
||||||
params.push(data[this.metadata]);
|
params.push(data[this.metadata]);
|
||||||
if (this.input instanceof Array && this.input.length) {
|
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) {
|
} else if (this.input) {
|
||||||
params.push(this.input);
|
params.push(this.input);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user