diff --git a/web/js/reroutePrimitive.js b/web/js/reroutePrimitive.js index 1b94894..91c77ad 100644 --- a/web/js/reroutePrimitive.js +++ b/web/js/reroutePrimitive.js @@ -154,7 +154,7 @@ app.registerExtension({ v = this.widgets_values[0]; } let config = [link.type, {}]; - if (input.widget) { + if (input.widget?.config) { config = input.widget.config; } const { widget } = ComfyWidgets[widgetType](this, "value", config, app);