forked from extern/easydiffusion
Reverting duplicate hypernetwork fix
This commit is contained in:
parent
19c16af5fa
commit
5fddae589b
@ -304,11 +304,7 @@ function restoreTaskToUI(task, fieldsToSkip) {
|
||||
// restore the original tag
|
||||
promptField.value = task.reqBody.original_prompt || task.reqBody.prompt
|
||||
|
||||
// properly reset missing fields
|
||||
if (!('use_hypernetwork_model' in task.reqBody)) {
|
||||
hypernetworkModelField.value = ""
|
||||
hypernetworkModelField.dispatchEvent(new Event("change"))
|
||||
}
|
||||
// properly reset checkboxes
|
||||
if (!('use_face_correction' in task.reqBody)) {
|
||||
useFaceCorrectionField.checked = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user