|
@@ -63,7 +63,7 @@ const RegisterAvailableFilterBar: React.FC<Props> = ({
|
|
dispatch(setSelected(val as 'protocol' | 'view'));
|
|
dispatch(setSelected(val as 'protocol' | 'view'));
|
|
dispatch(
|
|
dispatch(
|
|
fetchViewsOrProtocols({
|
|
fetchViewsOrProtocols({
|
|
- selection: selected,
|
|
|
|
|
|
+ selection: val as 'protocol' | 'view',
|
|
patientType: currentPatientType?.patient_type_id ?? null,
|
|
patientType: currentPatientType?.patient_type_id ?? null,
|
|
bodyPart: currentBodyPart?.body_part_id ?? null,
|
|
bodyPart: currentBodyPart?.body_part_id ?? null,
|
|
})
|
|
})
|