Merge pull request #119 from fffonion/patch-1

Fix reroutePrimitive widget create config handling
This commit is contained in:
pythongosssss
2024-01-03 17:55:06 +00:00
committed by GitHub
+1 -1
View File
@@ -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);