Fix compatibility with latest comfy

This commit is contained in:
pythongosssss
2025-02-19 18:10:20 +00:00
parent a53ef9b617
commit 4e04312491
+1 -1
View File
@@ -283,7 +283,7 @@ app.registerExtension({
const onAdded = nodeType.prototype.onAdded;
nodeType.prototype.onAdded = function () {
onAdded?.apply(this, arguments);
const { widget: exampleList } = ComfyWidgets["COMBO"](this, "example", [[""]], app);
const { widget: exampleList } = ComfyWidgets["COMBO"](this, "example", [[""], {}], app);
let exampleWidget;