Skip to content

Commit fdd21c3

Browse files
fix(ui): generator nodes
Closes #8617
1 parent 4ad2574 commit fdd21c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

invokeai/frontend/web/src/features/nodes/types/invocation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ export const isGeneratorNodeType = (type: string) =>
138138
['image_generator', 'string_generator', 'integer_generator', 'float_generator'].includes(type);
139139

140140
export const isBatchNode = (node: InvocationNode) => isBatchNodeType(node.data.type);
141+
const isGeneratorNode = (node: InvocationNode) => isGeneratorNodeType(node.data.type);
141142

142143
export const isExecutableNode = (node: InvocationNode) => {
143-
return !isBatchNode(node);
144+
return !isBatchNode(node) && !isGeneratorNode(node);
144145
};

0 commit comments

Comments
 (0)