Skip to content

Commit

Permalink
Ignore falsey geocode attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccollum-woolpert authored Dec 7, 2022
1 parent a408d45 commit 2c0635e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions application/frontend/src/app/core/services/csv.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(<GeocodeErrorResponse>{
error: true,
location,
message: 'Cannot geocode empty location',
});
return of(null);
}

if (isLatLngString(location)) {
Expand Down

0 comments on commit 2c0635e

Please sign in to comment.