show popup on map

This commit is contained in:
Jan Prochazka
2022-06-11 17:14:22 +02:00
parent f65c15d2e5
commit fca2bf8ddb
2 changed files with 44 additions and 33 deletions

View File

@@ -51,7 +51,7 @@ import { isWktGeometry } from 'dbgate-tools';
return 'jsonRow';
}
if (selection.length > 0 && _.every(selection, x => isWktGeometry(x.value))) {
if (selection.length > 0 && _.find(selection, x => isWktGeometry(x.value))) {
return 'map';
}