forked from MapComplete/MapComplete
Various bug fixes and updates
This commit is contained in:
parent
97ec893479
commit
e069b31e4e
29 changed files with 482 additions and 148 deletions
|
@ -54,6 +54,9 @@ export class SimpleAddUI extends UIElement {
|
|||
if (typeof (preset.icon) !== "string") {
|
||||
const tags = Utils.MergeTags(TagUtils.KVtoProperties(preset.tags), {id:"node/-1"});
|
||||
icon = preset.icon.GetContent(tags).txt;
|
||||
if(icon.startsWith("$")){
|
||||
icon = undefined;
|
||||
}
|
||||
} else {
|
||||
icon = preset.icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue