mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 02:30:21 -06:00
Fixed an issue where Geometry viewer does not show popup when columns are less than 3. #5641
This commit is contained in:
parent
33aea87dea
commit
706019d639
@ -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)];
|
||||
|
Loading…
Reference in New Issue
Block a user