mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 13:47:38 +02:00
web/ProcessingQueueItem: show running text even if there's no percentage
This commit is contained in:
@ -112,7 +112,7 @@
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
const task = currentTasks[w.workerId];
|
const task = currentTasks[w.workerId];
|
||||||
if (!task || !task.progress?.percentage) {
|
if (!task || !task.progress) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -121,7 +121,7 @@
|
|||||||
return $t(`queue.state.starting.${firstUnstarted.worker}`);
|
return $t(`queue.state.starting.${firstUnstarted.worker}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $t("queue.state.starting");
|
return runningText;
|
||||||
|
|
||||||
case "done":
|
case "done":
|
||||||
return formatFileSize(info.resultFile?.size);
|
return formatFileSize(info.resultFile?.size);
|
||||||
|
Reference in New Issue
Block a user