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)
|
console.warn("No layer found for object (probably a now disabled layer)", feature, this._layerDict)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (layer.title === undefined && (layer.tagRenderings ?? []).length === 0) {
|
if (layer.title === undefined) {
|
||||||
// No popup action defined -> Don't do anything
|
// No popup action defined -> Don't do anything
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue