forked from MapComplete/MapComplete
Make models deal with 'null'-titleicons
This commit is contained in:
parent
4521889909
commit
0ca92ed6ab
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ export default class LayerConfig extends WithContextLoader {
|
||||||
throw "Error in " + context + ": use 'filter' instead of 'filters'"
|
throw "Error in " + context + ": use 'filter' instead of 'filters'"
|
||||||
}
|
}
|
||||||
|
|
||||||
this.titleIcons = this.ParseTagRenderings(<TagRenderingConfigJson[]>json.titleIcons, {
|
this.titleIcons = this.ParseTagRenderings(<TagRenderingConfigJson[]>json.titleIcons ?? [], {
|
||||||
readOnlyMode: true,
|
readOnlyMode: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue