Skip to content

Commit

Permalink
Merge pull request #33996 from dimagi/ze/remove-old-geospatial-comment
Browse files Browse the repository at this point in the history
Remove Old Geospatial TODO
  • Loading branch information
zandre-eng committed Jan 19, 2024
2 parents d724c1c + 183b0fe commit 3854d79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions corehq/apps/geospatial/static/geospatial/js/geospatial_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ hqDefine("geospatial/js/geospatial_map", [
url: initialPageData.reverse('get_users_with_gps'),
success: function (data) {
self.hasFiltersChanged(false);

// TODO: There is a lot of indexing happening here. This should be replaced with a mapping to make reading it more explicit
const userData = _.object(_.map(data.user_data, function (userData) {
const gpsData = (userData.gps_point) ? userData.gps_point.split(' ') : [];
const lat = parseFloat(gpsData[0]);
Expand Down

0 comments on commit 3854d79

Please sign in to comment.