From 027d075873d6dcd5ac88710e2355fa1a950d4517 Mon Sep 17 00:00:00 2001 From: pkpk <65272389+pkpkTech@users.noreply.github.com> Date: Sat, 17 Feb 2024 22:40:31 +0900 Subject: [PATCH] Fixed a bug that prevented Pending Queues from being read. --- web/SaveQueues.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/SaveQueues.js b/web/SaveQueues.js index 6068a13..f30d736 100644 --- a/web/SaveQueues.js +++ b/web/SaveQueues.js @@ -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] }); } }