Fix JS error on clicking feature search result (close #7359)

This commit is contained in:
Quincy Morgan
2020-02-25 11:24:16 -08:00
parent 0b1ce05f35
commit 31de74479e
+1 -1
View File
@@ -150,7 +150,7 @@ export function coreContext() {
context.zoomToEntity = (entityID, zoomTo) => {
if (zoomTo !== false) {
this.loadEntity(entityID, (err, result) => {
context.loadEntity(entityID, (err, result) => {
if (err) return;
const entity = result.data.find(e => e.id === entityID);
if (entity) {