forked from MapComplete/MapComplete
Hide popups of features without title
This commit is contained in:
parent
6489e93209
commit
e6b0dd7042
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ export default class ShowDataLayer {
|
|||
console.warn("No layer found for object (probably a now disabled layer)", feature, this._layerDict)
|
||||
return;
|
||||
}
|
||||
if (layer.title === undefined && (layer.tagRenderings ?? []).length === 0) {
|
||||
if (layer.title === undefined) {
|
||||
// No popup action defined -> Don't do anything
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
"codeContributionsBy": "MapComplete wurde von {contributors} und <a href=\"https://github.com/pietervdvn/MapComplete/graphs/contributors\" target=\"_blank\">{hiddenCount} weiteren Beitragenden</a> erstellt",
|
||||
"themeBy": "Thema betreut von {author}",
|
||||
"attributionContent": "<p>Alle Daten wurden bereitgestellt von <a href=\"https://osm.org\" target=\"_blank\">OpenStreetMap</a>, frei verwendbar unter der <a href=\"https://osm.org/copyright\" target=\"_blank\">Open Database License</a>.</p>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"favourite": {
|
||||
"panelIntro": "<h3>Ihr persönliches Thema</h3>Aktivieren Sie Ihre Lieblingsebenen aus allen offiziellen Themen",
|
||||
|
|
Loading…
Reference in a new issue