LoraManager: Implement 'Upload thumbnail' button

This commit is contained in:
JeLuF
2023-09-17 22:36:50 +02:00
parent 86e2ac40ae
commit d6a02a31a7
2 changed files with 771 additions and 0 deletions

View File

@ -868,6 +868,7 @@ useAsThumbSaveBtn.addEventListener("click", (e) => {
})
.then(() => {
useAsThumbDialog.close()
document.dispatchEvent(new CustomEvent("saveThumb", { detail: useAsThumbSelect.selectedOptions }))
})
.catch((error) => {
console.error(error)