From 476e938d233373a71fe23c2ad9e10408e26a3bc1 Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Fri, 14 Oct 2022 04:18:34 -0400 Subject: [PATCH] Forgot a color change for batched tasks. taskStatusLabel could have class activeTaskLabel replace by waitingTaskLabel again. --- ui/media/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/media/main.js b/ui/media/main.js index 2d8fd6cd..260ef0a3 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -532,6 +532,9 @@ async function doMakeImage(task) { throw new Error('Endpoint response does not contains a response stream url.') } task['taskStatusLabel'].innerText = "Busy/Waiting" + task['taskStatusLabel'].classList.add('waitingTaskLabel') + task['taskStatusLabel'].classList.remove('activeTaskLabel') + do { // Wait for server status to update. await asyncDelay(250) if (!isServerAvailable()) {