diff --git a/Models/ThemeConfig/LayerConfig.ts b/Models/ThemeConfig/LayerConfig.ts index 389a7854f..b725ea4c2 100644 --- a/Models/ThemeConfig/LayerConfig.ts +++ b/Models/ThemeConfig/LayerConfig.ts @@ -371,7 +371,7 @@ export default class LayerConfig extends WithContextLoader { throw "Error in " + context + ": use 'filter' instead of 'filters'" } - this.titleIcons = this.ParseTagRenderings(json.titleIcons, { + this.titleIcons = this.ParseTagRenderings(json.titleIcons ?? [], { readOnlyMode: true, })