forked from MapComplete/MapComplete
Small fix: restore special components
This commit is contained in:
parent
e1d7b256f9
commit
fbdd36b270
2 changed files with 4 additions and 4 deletions
|
@ -332,7 +332,7 @@ export default class LayerConfig {
|
|||
|
||||
function render(tr: TagRenderingConfig, deflt?: string) {
|
||||
const str = (tr?.GetRenderValue(tags.data)?.txt ?? deflt);
|
||||
return SubstitutedTranslation.SubstituteKeys(str, tags.data);
|
||||
return SubstitutedTranslation.SubstituteKeys(str, tags.data).replace(/{.*}/g, "");
|
||||
}
|
||||
|
||||
const iconSize = render(this.iconSize, "40,40,center").split(",");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue