add query

This commit is contained in:
Chris 2023-10-12 14:26:53 +11:00
parent 8cc75c64ff
commit 41d2c5660d
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))
for (let parent_input in all_inputs) {
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);
if (link) {
parent = parent.getInputNode(parent_input);