mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-10-16 21:07:12 +08:00
patch for imagesendWidget
* consider node.images is undefined * ugly indentation
This commit is contained in:
parent
6f99837c76
commit
185f314f37
@ -46,7 +46,7 @@ function imagesendWidget(node, inputName, inputData, app) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function callback() {
|
async function callback() {
|
||||||
if(node.images.length < 1)
|
if(node.images == undefined || node.images.length < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const image_name = node.images[0].filename;
|
const image_name = node.images[0].filename;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user