Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Costello committed Nov 15, 2024
1 parent 079a534 commit e5e0973
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions corehq/apps/locations/static/locations/js/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ hqDefine("locations/js/widgets", [
const requestUserDomainMemberships = initialPageData.get('request_user_domain_memberships');
const requestUserLocations = _.find(requestUserDomainMemberships, function (dm) {
if (dm.domain === requestDomain) {
return dm.assigned_location_ids
};
return dm.assigned_location_ids;
}
});
let shareLocations = false;
_.every(selectedLocations, function (location_id) {
if (_.contains(requestUserLocations, location_id)) {
_.every(selectedLocations, function (locationId) {
if (_.contains(requestUserLocations, locationId)) {
shareLocations = true;
}
});
Expand Down

0 comments on commit e5e0973

Please sign in to comment.