Skip to content

Commit

Permalink
Fix renaming upload widget (#2554)
Browse files Browse the repository at this point in the history
* Fix renaming upload widget

* Allow custom name
  • Loading branch information
pythongosssss authored Jan 16, 2024
1 parent 818d0c0 commit ee2c5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/extensions/core/groupNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ee2c5fa

Please sign in to comment.