From 4bb4122ec56997406e47b82d08f016ca8eaa27d0 Mon Sep 17 00:00:00 2001 From: Salah-BOUYAHIA Date: Wed, 16 Oct 2024 11:47:05 +0200 Subject: [PATCH] fix: resolve wrong label chips for validity-period-end in Medication criteria --- src/utils/requestCriterias.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/requestCriterias.tsx b/src/utils/requestCriterias.tsx index 7ab676a40..092f600ef 100644 --- a/src/utils/requestCriterias.tsx +++ b/src/utils/requestCriterias.tsx @@ -930,9 +930,9 @@ export const criteriasAsArray = (selectedCriteria: SelectedCriteriaType, criteri getDatesLabel( selectedCriteria.endOccurrence ?? [null, null], getOccurenceDateLabel( - selectedCriteria.type as Exclude - ), - true + selectedCriteria.type as Exclude, + true + ) ) ) if (selectedCriteria.encounterService && selectedCriteria.encounterService.length > 0)