diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index 4d3f8af8..884f1c9a 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -297,7 +297,11 @@ function restoreTaskToUI(task, fieldsToSkip) { // restore the original tag promptField.value = task.reqBody.original_prompt || task.reqBody.prompt - // properly reset checkboxes + // properly reset fields not present in the task + if (!('use_hypernetwork_model' in task.reqBody)) { + hypernetworkModelField.value = "" + hypernetworkModelField.dispatchEvent(new Event("change")) + } if (!('use_face_correction' in task.reqBody)) { useFaceCorrectionField.checked = false }