mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
This commit is contained in:
commit
95004be0e9
@ -2762,6 +2762,12 @@ function updateEmbeddingsList(filter = "") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (toplevel.children.length == 0 && folders.children.length == 0) {
|
||||||
|
// Empty folder
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
let result = document.createElement("div")
|
let result = document.createElement("div")
|
||||||
result.replaceChildren(toplevel, htmlToElement('<br style="clear: both;">'), folders)
|
result.replaceChildren(toplevel, htmlToElement('<br style="clear: both;">'), folders)
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user