mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
Fixes saving the input value for criteria
This commit is contained in:
@ -287,7 +287,6 @@ export default {
|
|||||||
this.condition.definition.criteria[0].key = this.selectedTelemetryKey;
|
this.condition.definition.criteria[0].key = this.selectedTelemetryKey;
|
||||||
this.condition.definition.criteria[0].metaDataKey = this.selectedMetaDataKey;
|
this.condition.definition.criteria[0].metaDataKey = this.selectedMetaDataKey;
|
||||||
this.condition.definition.criteria[0].operation = this.selectedOperationKey;
|
this.condition.definition.criteria[0].operation = this.selectedOperationKey;
|
||||||
this.condition.definition.criteria[0].input = this.operationValue || '';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
persist() {
|
persist() {
|
||||||
@ -315,7 +314,7 @@ export default {
|
|||||||
this.updateTelemetry();
|
this.updateTelemetry();
|
||||||
},
|
},
|
||||||
getOperationValue(ev) {
|
getOperationValue(ev) {
|
||||||
// this.condition.definition.criteria[0].input = [ev.target.value];
|
this.condition.definition.criteria[0].input = [ev.target.value];
|
||||||
this.updateConditionCriteria();
|
this.updateConditionCriteria();
|
||||||
//find the criterion being updated and set the input property
|
//find the criterion being updated and set the input property
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user