From e641844478a6ad18a77d5d54685d28516a736903 Mon Sep 17 00:00:00 2001 From: carapai Date: Sun, 3 May 2020 18:36:53 +0300 Subject: [PATCH] Corrected bug in failing to import --- src/stores/converters.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/converters.js b/src/stores/converters.js index 9126e88..345ac0e 100644 --- a/src/stores/converters.js +++ b/src/stores/converters.js @@ -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);