Merge pull request #1138 from patriceac/patch-65

Properly reset LoRA selection from Use Settings
This commit is contained in:
cmdr2 2023-04-10 10:54:12 +05:30 committed by GitHub
commit 514e40569e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ function restoreTaskToUI(task, fieldsToSkip) {
}
if (!('use_lora_model' in task.reqBody)) {
loraModelField.value = "None"
loraModelField.value = ""
loraModelField.dispatchEvent(new Event("change"))
}