hide embeddings UI if not test_diffusers

This commit is contained in:
JeLuF
2023-06-30 20:17:46 +02:00
parent f09c50ec90
commit fa6716345d
3 changed files with 6 additions and 1 deletions

View File

@ -2200,6 +2200,10 @@ embeddingsSearchBox.addEventListener("input", (e) => {
updateEmbeddingsList(embeddingsSearchBox.value)
})
if (testDiffusers.checked) {
document.getElementById("embeddings-container").classList.remove("displayNone")
}
/* Pause function */
document.querySelectorAll(".tab").forEach(linkTabContents)