Merge pull request #762 from patriceac/patch-17

Fix the restoring of the previous nested model
This commit is contained in:
cmdr2 2023-01-11 14:58:25 +05:30 committed by GitHub
commit ad073252e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)