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
ee2c5fa7
Unverified
Commit
ee2c5fa7
authored
Jan 16, 2024
by
pythongosssss
Committed by
GitHub
Jan 16, 2024
Browse files
Fix renaming upload widget (#2554)
* Fix renaming upload widget * Allow custom name
parent
818d0c01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/extensions/core/groupNode.js
web/extensions/core/groupNode.js
+1
-1
No files found.
web/extensions/core/groupNode.js
View file @
ee2c5fa7
...
@@ -349,7 +349,7 @@ export class GroupNodeConfig {
...
@@ -349,7 +349,7 @@ export class GroupNodeConfig {
}
}
if (config[0] === "IMAGEUPLOAD") {
if (config[0] === "IMAGEUPLOAD") {
if (!extra) extra = {};
if (!extra) extra = {};
extra.widget =
`
$
{
prefix
}
$
{
config
[
1
]?.
widget
??
"
image
"
}
`
;
extra.widget =
this.oldToNewWidgetMap[node.index]?.[
config[1]?.widget ?? "image"
] ?? "image"
;
}
}
if (extra) {
if (extra) {
...
...
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