From d5addcfb3af81f15c472415fd40dae4e34a29295 Mon Sep 17 00:00:00 2001 From: Salah-BOUYAHIA Date: Wed, 31 May 2023 11:26:46 +0200 Subject: [PATCH] fix: show select population button when no rights on older caresite - Ref gestion-de-projet#1603 --- .../DiagramView/components/PopulationCard/PopulationCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CreationCohort/DiagramView/components/PopulationCard/PopulationCard.tsx b/src/components/CreationCohort/DiagramView/components/PopulationCard/PopulationCard.tsx index fce4cd3af..9eb074cb4 100644 --- a/src/components/CreationCohort/DiagramView/components/PopulationCard/PopulationCard.tsx +++ b/src/components/CreationCohort/DiagramView/components/PopulationCard/PopulationCard.tsx @@ -133,7 +133,7 @@ const PopulationCard: React.FC = (props) => { - ) : selectionAndPopulationWithRightError?.length !== 0 ? ( + ) : selectionAndPopulationWithRightError?.length !== 0 || form ? (