"...csrc/git@developer.sourcefind.cn:change/sglang.git" did not exist on "2b1da821b5b8c1c887942efd2918c8c04ad0821a"
Commit 1f2f4eaa authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix bug when copying node with converted input.

parent 69a824e9
......@@ -200,6 +200,10 @@ app.registerExtension({
for (const input of this.inputs) {
if (input.widget && !input.widget[GET_CONFIG]) {
input.widget[GET_CONFIG] = () => getConfig.call(this, input.widget.name);
const w = this.widgets.find((w) => w.name === input.widget.name);
if (w) {
hideWidget(this, w);
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment