Skip to content

Commit

Permalink
fix: [DHIS2-17363] deselection of true only fields (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip authored May 10, 2024
1 parent 2e31e0d commit 7fa7341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2-tracker/dhis2.angular.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ var d2Services = angular.module('d2Services', ['ngResource'])
val = val === 'true' ? true : '';
}
else{
val = val === true ? 'true' : '';
val = val === true ? 'true' : 'false';
}
}
if( val && obj.valueType === 'ORGANISATION_UNIT' ){
Expand Down

0 comments on commit 7fa7341

Please sign in to comment.