diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx index ad07d0348..cf5ed1d57 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx @@ -158,7 +158,7 @@ function parseData(rows, columns, column) { }); let getPopupContent; - if (columns.length >= 3) { + if (columns.length >= 2) { // add popup when geometry has properties getPopupContent = function (geojson) { let geometry = selectedGeometries[geoJSONs.indexOf(geojson)];