Fix renaming upload widget (#2554)
* Fix renaming upload widget * Allow custom name
This commit is contained in:
parent
818d0c01b2
commit
ee2c5fa72d
|
@ -349,7 +349,7 @@ export class GroupNodeConfig {
|
|||
}
|
||||
if (config[0] === "IMAGEUPLOAD") {
|
||||
if (!extra) extra = {};
|
||||
extra.widget = `${prefix}${config[1]?.widget ?? "image"}`;
|
||||
extra.widget = this.oldToNewWidgetMap[node.index]?.[config[1]?.widget ?? "image"] ?? "image";
|
||||
}
|
||||
|
||||
if (extra) {
|
||||
|
|
Loading…
Reference in New Issue