Skip to content

Commit

Permalink
fix potential crash
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss committed Nov 17, 2023
1 parent 34fd915 commit 07adf25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@ export class ComfyApp {
}

if (link) {
if (parent.updateLink) {
if (parent?.updateLink) {
link = parent.updateLink(link);
}
inputs[node.inputs[i].name] = [String(link.origin_id), parseInt(link.origin_slot)];
Expand Down

0 comments on commit 07adf25

Please sign in to comment.