Unverified Commit ee2c5fa7 authored by pythongosssss's avatar pythongosssss Committed by GitHub
Browse files

Fix renaming upload widget (#2554)

* Fix renaming upload widget

* Allow custom name
parent 818d0c01
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment