-
navigate(`/patient/${id}/investigation_reports`)
}
@@ -477,13 +502,12 @@ export const PatientHome = (props: {
/>
{t("investigations_summary")}
-
+
-
navigate(
`/facility/${patientData?.facility}/patient/${id}/files`,
@@ -494,18 +518,17 @@ export const PatientHome = (props: {
{t("view_update_patient_files")}
-
+
- {NonReadOnlyUsers && (
+ {NonReadOnlyUsers(authUser.user_type) && (
- setOpenAssignVolunteerDialog(true)}
disabled={false}
authorizeFor={NonReadOnlyUsers}
className="w-full bg-white font-semibold text-green-800 hover:bg-secondary-200"
- size="large"
>
{" "}
@@ -513,15 +536,14 @@ export const PatientHome = (props: {
? t("update_volunteer")
: t("assign_to_volunteer")}
-
+
)}
-
-
+