Skip to content

Commit

Permalink
fix: resolve wrong label chips for validity-period-end in Medication …
Browse files Browse the repository at this point in the history
…criteria
  • Loading branch information
Mehdi-BOUYAHIA committed Oct 16, 2024
1 parent 7a77a5a commit 4bb4122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/requestCriterias.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -930,9 +930,9 @@ export const criteriasAsArray = (selectedCriteria: SelectedCriteriaType, criteri
getDatesLabel(
selectedCriteria.endOccurrence ?? [null, null],
getOccurenceDateLabel(
selectedCriteria.type as Exclude<CriteriaTypesWithAdvancedInputs, CriteriaType.IMAGING>
),
true
selectedCriteria.type as Exclude<CriteriaTypesWithAdvancedInputs, CriteriaType.IMAGING>,
true
)
)
)
if (selectedCriteria.encounterService && selectedCriteria.encounterService.length > 0)
Expand Down

0 comments on commit 4bb4122

Please sign in to comment.