mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 09:44:25 +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")
|
||||
result.replaceChildren(toplevel, htmlToElement('<br style="clear: both;">'), folders)
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user