From fae23a744f8a0f78b52fa104b4fce011fd06a9e2 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 26 Feb 2025 14:38:41 +1000 Subject: [PATCH] fix(ui): always check batch sizes when there is at least 1 batch node Not sure why I had this only checking if the size was >1. Doesn't make sense... --- invokeai/frontend/web/src/features/queue/store/readiness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/queue/store/readiness.ts b/invokeai/frontend/web/src/features/queue/store/readiness.ts index 6a92033b54..33f76d0e48 100644 --- a/invokeai/frontend/web/src/features/queue/store/readiness.ts +++ b/invokeai/frontend/web/src/features/queue/store/readiness.ts @@ -212,7 +212,7 @@ const getReasonsWhyCannotEnqueueWorkflowsTab = async (arg: { } } - if (batchNodes.length > 1) { + if (batchNodes.length > 0) { const batchSizes: number[] = []; const groupedBatchNodes = groupBy(batchNodes, (node) => node.data.inputs['batch_group_id']?.value); for (const [batchGroupId, batchNodes] of Object.entries(groupedBatchNodes)) {