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
29558fb3
Commit
29558fb3
authored
Jan 30, 2024
by
pythongosssss
Browse files
Fix crash when no widgets on customized group node
parent
da7a8df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
web/extensions/core/groupNode.js
web/extensions/core/groupNode.js
+3
-0
No files found.
web/extensions/core/groupNode.js
View file @
29558fb3
...
...
@@ -910,6 +910,9 @@ export class GroupNodeHandler {
const
self
=
this
;
const
onNodeCreated
=
this
.
node
.
onNodeCreated
;
this
.
node
.
onNodeCreated
=
function
()
{
if
(
!
this
.
widgets
)
{
return
;
}
const
config
=
self
.
groupData
.
nodeData
.
config
;
if
(
config
)
{
for
(
const
n
in
config
)
{
...
...
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