Skip to content

Commit

Permalink
fix: show select population button when no rights on older caresite -…
Browse files Browse the repository at this point in the history
… Ref gestion-de-projet#1603
  • Loading branch information
Mehdi-BOUYAHIA committed May 31, 2023
1 parent 0d99d1e commit d5addcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const PopulationCard: React.FC<populationCardPropsType> = (props) => {
<CircularProgress />
</div>
</div>
) : selectionAndPopulationWithRightError?.length !== 0 ? (
) : selectionAndPopulationWithRightError?.length !== 0 || form ? (
<div className={classes.populationCard}>
<div className={classes.leftDiv}>
<Typography className={classes.typography} variant={form ? undefined : 'h6'} align="left">
Expand Down

0 comments on commit d5addcf

Please sign in to comment.