This commit is contained in:
comfyanonymous 2023-10-11 23:35:24 -04:00
commit 536799d172
1 changed files with 1 additions and 1 deletions

View File

@ -1592,7 +1592,7 @@ export class ComfyApp {
all_inputs = all_inputs.concat(Object.keys(parent.inputs)) all_inputs = all_inputs.concat(Object.keys(parent.inputs))
for (let parent_input in all_inputs) { for (let parent_input in all_inputs) {
parent_input = all_inputs[parent_input]; parent_input = all_inputs[parent_input];
if (parent.inputs[parent_input].type === node.inputs[i].type) { if (parent.inputs[parent_input]?.type === node.inputs[i].type) {
link = parent.getInputLink(parent_input); link = parent.getInputLink(parent_input);
if (link) { if (link) {
parent = parent.getInputNode(parent_input); parent = parent.getInputNode(parent_input);