diff --git a/ui/media/js/main.js b/ui/media/js/main.js index e903632b..95b93ce4 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -635,9 +635,9 @@ function onTaskCompleted(task, reqBody, instance, outputContainer, stepUpdate) { let time = millisecondsToStr( Date.now() - task.startTime ) if (task.batchesDone == task.batchCount) { - if (!task.outputMsg.innerText.toLowerCase().includes('error')) { + if (!task.outputMsg.innerText.toLowerCase().includes('error')) { task.outputMsg.innerText = `Processed ${task.numOutputsTotal} images in ${time}` - } + } task.progressBar.style.height = "0px" task.progressBar.style.border = "0px solid var(--background-color3)" task.progressBar.classList.remove("active") @@ -817,7 +817,7 @@ function createTask(task) {