mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-13 01:38:19 +01:00
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