mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
Addressing comments - improves input value field visibility logic
This commit is contained in:
parent
1ff4d41b7c
commit
b15ebfd492
@ -327,10 +327,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setInputValueVisibility(ev) {
|
setInputValueVisibility(ev) {
|
||||||
if (this.selectedOperationKey !== 'isUndefined' && this.selectedOperationKey !== 'isDefined') {
|
for (let i=0, ii=this.operations.length; i < ii; i++) {
|
||||||
this.comparisonValueField = true;
|
if (this.selectedOperationKey === this.operations[i].name) {
|
||||||
} else {
|
this.comparisonValueField = this.operations[i].inputCount > 0;
|
||||||
this.comparisonValueField = false;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//find the criterion being updated and set the operation property
|
//find the criterion being updated and set the operation property
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user