Skip to content

Commit

Permalink
fix: [DHIS2-17363] deselection of true only fields (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip authored May 10, 2024
1 parent 6cbd26e commit f665b89
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 f665b89

Please sign in to comment.