Skip to content

Commit

Permalink
(fix) O3-2686 hide action overflow menu in patient banner in various …
Browse files Browse the repository at this point in the history
…appointment overlay forms (#925)

Co-authored-by: Dennis Kigen <kigen.work@gmail.com>
  • Loading branch information
chibongho and denniskigen committed Jan 13, 2024
1 parent 9bb9dfe commit b8d771b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const CancelAppointment: React.FC<CancelAppointmentProps> = ({ appointment }) =>
state={{
patient,
patientUuid: appointment.patientUuid,
hideActionsOverflow: true,
}}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU
}, [currentAppointmentDate, patientAppointment, t]);

return (
<Form className={styles.form}>
<Form className={styles.form} onClick={(e) => e.preventDefault()}>
<section>
{isLoading ? (
<div className={styles.loaderContainer}>
Expand All @@ -170,6 +170,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU
state={{
patient,
patientUuid: patientAppointment.patientUuid,
hideActionsOverflow: false,
}}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const VisitForm: React.FC<VisitFormProps> = ({ patientUuid, appointment }) => {
state={{
patient,
patientUuid: appointment.patientUuid,
hideActionsOverflow: true,
}}
/>
)}
Expand Down

0 comments on commit b8d771b

Please sign in to comment.