mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 00:19:09 +01:00
Fix the restoring of the last selected model
This commit is contained in:
parent
8b764a8fd3
commit
d24a7a5c5e
@ -1313,7 +1313,7 @@ async function getModels() {
|
||||
modelOption.value = path + modelName
|
||||
modelOption.innerHTML = modelName !== '' ? (path != "" ? " "+modelName : modelName) : 'None'
|
||||
|
||||
if (modelName === selectedModel) {
|
||||
if (path + modelName === selectedModel) {
|
||||
modelOption.selected = true
|
||||
}
|
||||
modelField.appendChild(modelOption)
|
||||
|
Loading…
Reference in New Issue
Block a user