diff --git a/plugins/portals-list.user.js b/plugins/portals-list.user.js index cde5cbccc..b78eda9f3 100644 --- a/plugins/portals-list.user.js +++ b/plugins/portals-list.user.js @@ -154,6 +154,14 @@ window.plugin.portalslist.getPortals = function() { // eliminate offscreen portals (selected, and in padding) if(!displayBounds.contains(portal.getLatLng())) return true; + if (!portal.options.data.title) { // no data about portal + // bug in intel, observed with ghost fields + // todo: check if such portal is really duplicate + // otherwise better keep it (with data filled by some defaults) + console.warn('filtering out "ghost" portal:', portal.options.data); + return true; + } + retval=true; switch (portal.options.team) {