From 529169c4da252e7621d05b314820b01adec15de7 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 30 Nov 2022 15:53:30 +0530 Subject: [PATCH] Merge pull request #541 from patriceac/patch-2 Fix restoration of parallel output setting --- ui/media/js/dnd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index 6ca28f32..fd6751bb 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -192,9 +192,9 @@ const TASK_MAPPING = { parse: (val) => val }, - numOutputsParallel: { name: 'Parallel Images', - setUI: (numOutputsParallel) => { - numOutputsParallelField.value = numOutputsParallel + num_outputs: { name: 'Parallel Images', + setUI: (num_outputs) => { + numOutputsParallelField.value = num_outputs }, readUI: () => parseInt(numOutputsParallelField.value), parse: (val) => val