diff --git a/src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CriteriaRightPanel.tsx b/src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CriteriaRightPanel.tsx index 6a788bf36..c96351fe9 100644 --- a/src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CriteriaRightPanel.tsx +++ b/src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CriteriaRightPanel.tsx @@ -192,7 +192,7 @@ const CriteriaRightPanel: React.FC = (props) => { } useEffect(() => { - if (selectedCriteria) { + if (selectedCriteria && open) { const searchChild = (_criteria: CriteriaItemType[] | null): CriteriaItemType | null => { if (!_criteria) return null diff --git a/src/utils/cohortCreation.ts b/src/utils/cohortCreation.ts index 551583259..804b32f59 100644 --- a/src/utils/cohortCreation.ts +++ b/src/utils/cohortCreation.ts @@ -76,7 +76,7 @@ import { import { pregnancyForm } from 'data/pregnancyData' import { hospitForm } from 'data/hospitData' -const REQUETEUR_VERSION = 'v1.4.0' +const REQUETEUR_VERSION = 'v1.4.4' const IPP_LIST_FHIR = 'identifier.value'