From d94aed29993f8c084ef1294676e80d205124a211 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Sun, 24 Dec 2023 21:17:27 -0600 Subject: [PATCH] Check that VHS_VideoCombine preview is non-null --- js/comfyui-share-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }