refactoring: Fix documentation generation, (auto)remove documentation of deleted themes

This commit is contained in:
Pieter Vander Vennet 2023-04-15 03:15:17 +02:00
parent 43aeb9d191
commit b0052d3a36
33 changed files with 1565 additions and 2903 deletions

View file

@ -480,7 +480,7 @@ export default class LayerConfig extends WithContextLoader {
)
}
if (this.source.geojsonSource !== undefined) {
if (this.source?.geojsonSource !== undefined) {
extraProps.push(
new Combine([
Utils.runningFromConsole
@ -530,8 +530,8 @@ export default class LayerConfig extends WithContextLoader {
)
}
let neededTags: TagsFilter[] = [this.source.osmTags]
if (this.source.osmTags["and"] !== undefined) {
let neededTags: TagsFilter[] = Utils.NoNull([this.source?.osmTags])
if (this.source?.osmTags["and"] !== undefined) {
neededTags = this.source.osmTags["and"]
}