Fix renaming upload widget (#2554)

* Fix renaming upload widget

* Allow custom name
main
pythongosssss 1 year ago committed by GitHub
parent 818d0c01b2
commit ee2c5fa72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save