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
7291e303
"llm/git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "d632e23fbae005ca3522c0e3b2cf31a2499e4c03"
Commit
7291e303
authored
Sep 02, 2023
by
comfyanonymous
Browse files
Fix issue with some workflows not getting serialized.
parent
77a176f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+3
-0
No files found.
web/extensions/core/widgetInputs.js
View file @
7291e303
...
...
@@ -16,6 +16,9 @@ function hideWidget(node, widget, suffix = "") {
widget
.
type
=
CONVERTED_TYPE
+
suffix
;
widget
.
serializeValue
=
()
=>
{
// Prevent serializing the widget if we have no input linked
if
(
!
node
.
inputs
)
{
return
undefined
;
}
const
{
link
}
=
node
.
inputs
.
find
((
i
)
=>
i
.
widget
?.
name
===
widget
.
name
);
if
(
link
==
null
)
{
return
undefined
;
...
...
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