Skip to content

Commit

Permalink
fix: resolve selection of code filters - Ref gestion-de-projet#2538
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Mar 25, 2024
1 parent f731051 commit 5b9e73e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Filters/AnabioFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const AnabioFilter = ({ name, value, disabled = false, onFetch }: AnabioFilterPr
label="Code(s) sélectionné(s)"
variant="outlined"
noOptionsText="Veuillez entrer un code Anabio"
values={value}
values={anabio}
onFetch={(text, signal) => onFetch(text, false, signal)}
onChange={(newValue) => {
setAnabio(newValue)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/CodeFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const CodeFilter = ({ name, value, disabled = false, onFetch }: CodeFilterProps)
label="Code(s) sélectionné(s)"
variant="outlined"
noOptionsText="Veuillez entrer un code"
values={value}
values={code}
onFetch={(text, signal) => onFetch(text, false, signal)}
onChange={(newValue) => {
setCode(newValue)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/LoincFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const LoincFilter = ({ name, value, disabled = false, onFetch }: LoincFilterProp
label="Code(s) sélectionné(s)"
variant="outlined"
noOptionsText="Veuillez entrer un code Loinc"
values={value}
values={loinc}
onFetch={(text, signal) => onFetch(text, false, signal)}
onChange={(newValue) => {
setLoinc(newValue)
Expand Down

0 comments on commit 5b9e73e

Please sign in to comment.