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
9af7033c
Commit
9af7033c
authored
May 30, 2023
by
comfyanonymous
Browse files
Merge branch 'hotfix/refresh-primitive-conflict' of
https://github.com/ltdrdata/ComfyUI
parents
eb448dd8
08abd838
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
web/scripts/app.js
web/scripts/app.js
+5
-0
No files found.
web/scripts/app.js
View file @
9af7033c
...
@@ -1424,6 +1424,11 @@ export class ComfyApp {
...
@@ -1424,6 +1424,11 @@ export class ComfyApp {
const
def
=
defs
[
node
.
type
];
const
def
=
defs
[
node
.
type
];
// HOTFIX: The current patch is designed to prevent the rest of the code from breaking due to primitive nodes,
// and additional work is needed to consider the primitive logic in the refresh logic.
if
(
!
def
)
continue
;
for
(
const
widgetNum
in
node
.
widgets
)
{
for
(
const
widgetNum
in
node
.
widgets
)
{
const
widget
=
node
.
widgets
[
widgetNum
]
const
widget
=
node
.
widgets
[
widgetNum
]
if
(
widget
.
type
==
"
combo
"
&&
def
[
"
input
"
][
"
required
"
][
widget
.
name
]
!==
undefined
)
{
if
(
widget
.
type
==
"
combo
"
&&
def
[
"
input
"
][
"
required
"
][
widget
.
name
]
!==
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