mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 22:35:00 -05:00
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...
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user