From 2c0635e5f16069480ac5f919426803d3019b75fa Mon Sep 17 00:00:00 2001 From: Jason McCollum <83362099+jasonmccollumwoolpert@users.noreply.github.com> Date: Wed, 7 Dec 2022 11:43:01 -0800 Subject: [PATCH] Ignore falsey geocode attempts --- application/frontend/src/app/core/services/csv.service.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/application/frontend/src/app/core/services/csv.service.ts b/application/frontend/src/app/core/services/csv.service.ts index 870bee72..270f3f68 100644 --- a/application/frontend/src/app/core/services/csv.service.ts +++ b/application/frontend/src/app/core/services/csv.service.ts @@ -693,11 +693,7 @@ export class CsvService { // First try to split the location as a Lat,Lng pair // Then geocode what the user provides if coordinates can't be parsed if (!location) { - return of({ - error: true, - location, - message: 'Cannot geocode empty location', - }); + return of(null); } if (isLatLngString(location)) {