diff --git a/src/components/CreationCohort/ControlPanel/ControlPanel.tsx b/src/components/CreationCohort/ControlPanel/ControlPanel.tsx index f49734b47..0fdf5ecd3 100644 --- a/src/components/CreationCohort/ControlPanel/ControlPanel.tsx +++ b/src/components/CreationCohort/ControlPanel/ControlPanel.tsx @@ -191,7 +191,6 @@ const ControlPanel: React.FC<{ } catch (error) { setReportLoading(LoadingStatus.IDDLE) setReportError(true) - console.log(error) } } diff --git a/src/components/Dashboard/ExportModal/ExportModal.tsx b/src/components/Dashboard/ExportModal/ExportModal.tsx index 457376d10..053ea8371 100644 --- a/src/components/Dashboard/ExportModal/ExportModal.tsx +++ b/src/components/Dashboard/ExportModal/ExportModal.tsx @@ -48,7 +48,7 @@ const initialState: ExportCSVForm = { conditions: false, tables: export_table.map((table) => ({ ...table, - checked: false, + checked: table.label === 'person' ? true : false, fhir_filter: null, respect_table_relationships: true })) @@ -87,7 +87,7 @@ const ExportModal: React.FC = ({ cohortId, open, handleClose } 'tables', settings.tables.map((table) => ({ ...table, - checked: checkedTables.length !== settings.tables.length + checked: table.label !== 'person' ? settings.tables.length !== checkedTables.length : true })) ) } @@ -183,6 +183,7 @@ const ExportModal: React.FC = ({ cohortId, open, handleClose } style={resourceType === ResourceType.UNKNOWN ? { cursor: 'default' } : {}} expandIcon={ = ({ cohortId, open, handleClose } {exportResponse === null && (