mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 04:25:27 +00:00
fixed default state of output selector
This commit is contained in:
parent
b6ce9c6ed7
commit
b6b5cfe403
@ -183,6 +183,11 @@ export default {
|
||||
outputOptions: ['false', 'true', 'string']
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
initCap: function (string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1)
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
this.destroy();
|
||||
},
|
||||
@ -227,12 +232,6 @@ export default {
|
||||
delete this.conditionClass;
|
||||
}
|
||||
},
|
||||
reset() {
|
||||
this.selectedMetadataKey = {};
|
||||
this.selectedTelemetryKey = {};
|
||||
this.selectedOperationKey = {};
|
||||
this.operationValue = {};
|
||||
},
|
||||
handleConditionResult(args) {
|
||||
this.$emit('conditionResultUpdated', {
|
||||
id: this.conditionIdentifier,
|
||||
@ -256,6 +255,8 @@ export default {
|
||||
} else {
|
||||
this.selectedOutputKey = conditionOutput;
|
||||
}
|
||||
} else {
|
||||
this.selectedOutputKey = '';
|
||||
}
|
||||
},
|
||||
persist() {
|
||||
|
@ -227,7 +227,7 @@ export default {
|
||||
},
|
||||
configuration: {
|
||||
name: isDefault ? 'Default' : 'Unnamed Condition',
|
||||
output: 'false',
|
||||
output: '',
|
||||
trigger: 'any',
|
||||
criteria: isDefault ? [] : [{
|
||||
telemetry: '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user