Skip to content

Commit

Permalink
Merge pull request #28 from carapai/master
Browse files Browse the repository at this point in the history
Corrected bug in failing to import
  • Loading branch information
carapai authored May 3, 2020
2 parents 63e9612 + e641844 commit 366e17a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stores/converters.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ export const convert = (program, d2) => {
p.setIncidentDateProvided(program.incidentDateProvided);
p.setSelectEnrollmentDatesInFuture(program.selectEnrollmentDatesInFuture || false);
p.setSelectIncidentDatesInFuture(program.selectIncidentDatesInFuture || false);
p.setDataSource(program.dataSource);
if (program.sourceOrganisationUnits) {
const units = program.sourceOrganisationUnits.map(u => {
const o = new OrganisationUnit(u.id, u.name, u.code);
Expand Down

0 comments on commit 366e17a

Please sign in to comment.