Skip to content

Commit

Permalink
fix: export cohort when explore it
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Jan 23, 2024
1 parent 0a8a46f commit e9cbf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const TopBar: React.FC<TopBarProps> = ({ context, patientsNb, access, afterEdit

{openModal === 'export' && (
<ExportModal
cohortId={Array.isArray(dashboard?.cohort) ? 0 : parseInt(dashboard?.cohort?.id || '0')}
cohortId={Array.isArray(dashboard?.cohortId) ? 0 : parseInt(dashboard?.cohortId || '0')}
open
handleClose={() => handleClose()}
/>
Expand Down

0 comments on commit e9cbf7f

Please sign in to comment.