mirror of
https://github.com/nasa/openmct.git
synced 2025-05-12 05:23:13 +00:00
check for blank test values
This commit is contained in:
parent
d6f50567bc
commit
85a77699e6
@ -276,8 +276,8 @@ function updateAccumulateValues(parameter) {
|
||||
}
|
||||
|
||||
function updateTestValue(parameter) {
|
||||
if (parameter.accumulateValues && !Array.isArray(parameter.testValue)) {
|
||||
parameter.testValue = [parameter.testValue];
|
||||
if (parameter.accumulateValues && parameter.testValue === '') {
|
||||
parameter.testValue = [];
|
||||
}
|
||||
updateParameters();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user