forked from MapComplete/MapComplete
UX: more work on a search function
This commit is contained in:
parent
3cd04df60b
commit
00ad21d5ef
30 changed files with 636 additions and 138 deletions
|
@ -424,9 +424,11 @@ export default class MetaTagging {
|
|||
}
|
||||
}
|
||||
|
||||
console.warn(
|
||||
"Static MetataggingObject for theme is not set; using `new Function` (aka `eval`) to get calculated tags. This might trip up the CSP"
|
||||
)
|
||||
if (!window.location.pathname.endsWith("theme.html")) {
|
||||
console.warn(
|
||||
"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 ?? []
|
||||
if (calculatedTags === undefined || calculatedTags.length === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue