mirror of
https://github.com/nasa/openmct.git
synced 2025-01-20 03:36:44 +00:00
reinitialize rule string in forEach
This commit is contained in:
parent
efca7c8e58
commit
63feaef988
@ -232,6 +232,7 @@ export default {
|
||||
let conjunction = '';
|
||||
summary = 'When ';
|
||||
config.criteria.forEach((criterion, index) => {
|
||||
rule = '';
|
||||
if (criterion.operation && criterion.input.length) {
|
||||
rule += `${criterion.telemetry.name} value ${this.findDescription(criterion.operation, criterion.input)}`
|
||||
if (index === config.criteria.length - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user