From 472ab4a9ce00d13f215b749674c2659c0be2f2bd Mon Sep 17 00:00:00 2001 From: patriceac <48073125+patriceac@users.noreply.github.com> Date: Thu, 24 Nov 2022 14:15:27 -0800 Subject: [PATCH] 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 f344863b..bcfd5147 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