mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-17 00:43:48 +08:00
fix potential crash
This commit is contained in:
parent
34fd915eec
commit
07adf250cb
@ -1708,7 +1708,7 @@ export class ComfyApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (link) {
|
if (link) {
|
||||||
if (parent.updateLink) {
|
if (parent?.updateLink) {
|
||||||
link = parent.updateLink(link);
|
link = parent.updateLink(link);
|
||||||
}
|
}
|
||||||
inputs[node.inputs[i].name] = [String(link.origin_id), parseInt(link.origin_slot)];
|
inputs[node.inputs[i].name] = [String(link.origin_id), parseInt(link.origin_slot)];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user