forked from MapComplete/MapComplete
Changesets are now kept open and reused to avoid tons of changesets to be created
This commit is contained in:
parent
0051c37494
commit
82f3525907
16 changed files with 162 additions and 270 deletions
|
@ -55,8 +55,8 @@ export class SimpleAddUI extends UIElement {
|
|||
if (preset.icon !== undefined) {
|
||||
|
||||
if (typeof (preset.icon) !== "string") {
|
||||
icon = preset.icon.GetContent(Utils.MergeTags(preset.tags, {id:"node/-1"}));
|
||||
console.log("Preset icon is:", preset.icon, "--> ",icon);
|
||||
const tags = Utils.MergeTags(TagUtils.KVtoProperties(preset.tags), {id:"node/-1"});
|
||||
icon = preset.icon.GetContent(tags);
|
||||
} else {
|
||||
icon = preset.icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue