Skip to content

Commit

Permalink
nit: remove unused return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeety4 committed Dec 12, 2024
1 parent 0da0bb4 commit 2d1c601
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions corehq/apps/geospatial/static/geospatial/js/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,15 +520,12 @@ hqDefine('geospatial/js/models', [
};

self.removeDisbursementLayer = function () {
let layerRemoved = false;
if (self.mapInstance.getLayer(self.DISBURSEMENT_LINES_LAYER_ID)) {
self.mapInstance.removeLayer(self.DISBURSEMENT_LINES_LAYER_ID);
layerRemoved = true;
}
if (self.mapInstance.getSource(self.DISBURSEMENT_LINES_LAYER_ID)) {
self.mapInstance.removeSource(self.DISBURSEMENT_LINES_LAYER_ID);
}
return layerRemoved;
};

self.hasSelectedUsers = function () {
Expand Down

0 comments on commit 2d1c601

Please sign in to comment.