diff --git a/js/comfyui-share-common.js b/js/comfyui-share-common.js index e7506665..9875f0cd 100644 --- a/js/comfyui-share-common.js +++ b/js/comfyui-share-common.js @@ -87,7 +87,7 @@ export function getPotentialOutputsAndOutputNodes(nodes) { const widgetValue = node.widgets[j].value; const parsedURLVals = widgetValue.params; - if(!parsedURLVals.format.startsWith('image')) { + if(!parsedURLVals.format?.startsWith('image')) { // video isn't supported format continue; }