Skip to content

Commit 51c7c34

Browse files
committed
[GLAM-1129] Fix error handling when location service is not working
1 parent 4315569 commit 51c7c34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/open-street-map/open-street-map.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class OpenStreetMapComponent implements OnInit {
152152
place.displayName = position;
153153
this.place.next(place);
154154
},
155-
error: err => this.handleError(err, this.locationService.parseCoordinates(position))
155+
error: err => this.handleError(err, null)
156156
});
157157
}
158158

0 commit comments

Comments
 (0)