Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
1f2f4eaa
"...csrc/git@developer.sourcefind.cn:change/sglang.git" did not exist on "2b1da821b5b8c1c887942efd2918c8c04ad0821a"
Commit
1f2f4eaa
authored
Oct 08, 2023
by
comfyanonymous
Browse files
Fix bug when copying node with converted input.
parent
69a824e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+4
-0
No files found.
web/extensions/core/widgetInputs.js
View file @
1f2f4eaa
...
...
@@ -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
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment