Hide popups of features without title

This commit is contained in:
Pieter Vander Vennet 2021-06-21 17:47:36 +02:00
parent 6489e93209
commit e6b0dd7042
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}