Merge pull request #541 from patriceac/patch-2

Fix restoration of parallel output setting
This commit is contained in:
cmdr2 2022-11-30 15:53:30 +05:30 committed by GitHub
commit a2c8c99215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,9 +192,9 @@ const TASK_MAPPING = {
parse: (val) => val parse: (val) => val
}, },
numOutputsParallel: { name: 'Parallel Images', num_outputs: { name: 'Parallel Images',
setUI: (numOutputsParallel) => { setUI: (num_outputs) => {
numOutputsParallelField.value = numOutputsParallel numOutputsParallelField.value = num_outputs
}, },
readUI: () => parseInt(numOutputsParallelField.value), readUI: () => parseInt(numOutputsParallelField.value),
parse: (val) => val parse: (val) => val