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
44b6eaad
"...resnet50_tensorflow.git" did not exist on "b1bcc84024da4d2de24f5964a0d1151b48c5467b"
Commit
44b6eaad
authored
Mar 25, 2023
by
comfyanonymous
Browse files
Don't completely break workflow if field name changes.
parent
edb3dea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+5
-1
No files found.
web/extensions/core/widgetInputs.js
View file @
44b6eaad
...
...
@@ -131,7 +131,11 @@ app.registerExtension({
for
(
const
input
of
this
.
inputs
)
{
if
(
input
.
widget
)
{
const
w
=
this
.
widgets
.
find
((
w
)
=>
w
.
name
===
input
.
widget
.
name
);
hideWidget
(
this
,
w
);
if
(
w
)
{
hideWidget
(
this
,
w
);
}
else
{
convertToWidget
(
this
,
input
)
}
}
}
}
...
...
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