The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix issue when node_input is undefined.
comfyanonymous6962cb46a99e
diff --git a/web/extensions/core/widgetInputs.js b/web/extensions/core/widgetInputs.jsindex 34c656de1..f9a5b7278 100644--- a/web/extensions/core/widgetInputs.js+++ b/web/extensions/core/widgetInputs.js@@ -19,8 +19,9 @@ function hideWidget(node, widget, suffix = "") {if (!node.inputs) {return undefined;}- const { link } = node.inputs.find((i) => i.widget?.name === widget.name);- if (link == null) {+ let node_input = node.inputs.find((i) => i.widget?.name === widget.name);++ if (!node_input || !node_input.link) {return undefined;}return widget.origSerializeValue ? widget.origSerializeValue() : widget.value;