Fixed a bug that prevented Pending Queues from being read.

This commit is contained in:
pkpk
2024-02-17 22:40:31 +09:00
committed by GitHub
parent 2ed3556887
commit 027d075873
+2 -2
View File
@@ -65,8 +65,8 @@ app.registerExtension({
if (Array.isArray(data.queue_pending)) {
for (const p of data.queue_pending.toSorted((a, b) => a[0] - b[0])) {
await api.queuePrompt(0, {
output: data.queue_running[0][2],
workflow: data.queue_running[0][3]
output: p[2],
workflow: p[3]
});
}
}