mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 01:48:21 +02:00
Forgot a color change for batched tasks. taskStatusLabel could have class activeTaskLabel replace by waitingTaskLabel again.
This commit is contained in:
parent
1ec9d986bb
commit
476e938d23
@ -532,6 +532,9 @@ async function doMakeImage(task) {
|
|||||||
throw new Error('Endpoint response does not contains a response stream url.')
|
throw new Error('Endpoint response does not contains a response stream url.')
|
||||||
}
|
}
|
||||||
task['taskStatusLabel'].innerText = "Busy/Waiting"
|
task['taskStatusLabel'].innerText = "Busy/Waiting"
|
||||||
|
task['taskStatusLabel'].classList.add('waitingTaskLabel')
|
||||||
|
task['taskStatusLabel'].classList.remove('activeTaskLabel')
|
||||||
|
|
||||||
do { // Wait for server status to update.
|
do { // Wait for server status to update.
|
||||||
await asyncDelay(250)
|
await asyncDelay(250)
|
||||||
if (!isServerAvailable()) {
|
if (!isServerAvailable()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user