forked from extern/easydiffusion
Merge pull request #762 from patriceac/patch-17
Fix the restoring of the previous nested model
This commit is contained in:
commit
ad073252e7
@ -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