forked from MapComplete/MapComplete
More layout tweaks and fixes
This commit is contained in:
parent
b678efffd1
commit
2019e6c34c
11 changed files with 161 additions and 99 deletions
|
@ -419,7 +419,7 @@ export default class MetaTagging {
|
|||
"Static MetataggingObject for theme is not set; using `new Function` (aka `eval`) to get calculated tags. This might trip up the CSP"
|
||||
)
|
||||
|
||||
const calculatedTags: [string, string, boolean][] = layer.calculatedTags
|
||||
const calculatedTags: [string, string, boolean][] = layer?.calculatedTags ?? []
|
||||
if (calculatedTags === undefined || calculatedTags.length === 0) {
|
||||
return undefined
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue