Fixes saving the input value for criteria

This commit is contained in:
Joshi 2020-01-26 22:14:26 -08:00
parent b22ad3ded9
commit e912ab8f4e

View File

@ -287,7 +287,6 @@ export default {
this.condition.definition.criteria[0].key = this.selectedTelemetryKey;
this.condition.definition.criteria[0].metaDataKey = this.selectedMetaDataKey;
this.condition.definition.criteria[0].operation = this.selectedOperationKey;
this.condition.definition.criteria[0].input = this.operationValue || '';
}
},
persist() {
@ -315,7 +314,7 @@ export default {
this.updateTelemetry();
},
getOperationValue(ev) {
// this.condition.definition.criteria[0].input = [ev.target.value];
this.condition.definition.criteria[0].input = [ev.target.value];
this.updateConditionCriteria();
//find the criterion being updated and set the input property
},