mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 04:55:53 +00:00
Fix renaming upload widget (#2554)
* Fix renaming upload widget * Allow custom name
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user