mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 06:10:15 +08:00
Fix get upstream link
This commit is contained in:
parent
32fe4dc411
commit
2f70faa0aa
@ -60,7 +60,7 @@ export function getUpstreamLink(parent, currentLink) {
|
|||||||
const link = parent.getUpstreamLink();
|
const link = parent.getUpstreamLink();
|
||||||
return [parent.graph, link];
|
return [parent.graph, link];
|
||||||
}
|
}
|
||||||
else if (parent.inputs.length === 1) {
|
else if (parent.inputs && parent.inputs.length === 1) {
|
||||||
// Only one input, so assume we can follow it backwards.
|
// Only one input, so assume we can follow it backwards.
|
||||||
const link = parent.getInputLink(0);
|
const link = parent.getInputLink(0);
|
||||||
if (link) {
|
if (link) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user