From b2e383fbbe6b35b4ec324a3a214dbe61e198f3a6 Mon Sep 17 00:00:00 2001 From: mahendar Date: Tue, 22 Oct 2024 18:40:33 +0530 Subject: [PATCH] handled incorrect redirection after adding lab result and aligned view and print button correctly --- src/Components/Facility/Investigations/ViewInvestigations.tsx | 2 +- src/Components/Facility/Investigations/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Facility/Investigations/ViewInvestigations.tsx b/src/Components/Facility/Investigations/ViewInvestigations.tsx index e889fac4c01..6ea846ecbd0 100644 --- a/src/Components/Facility/Investigations/ViewInvestigations.tsx +++ b/src/Components/Facility/Investigations/ViewInvestigations.tsx @@ -58,7 +58,7 @@ export default function ViewInvestigations(props: {
{formatDateTime(investigationSession.session_created_date)}
-
+
navigate( diff --git a/src/Components/Facility/Investigations/index.tsx b/src/Components/Facility/Investigations/index.tsx index df93c7945c6..5c40766b6b9 100644 --- a/src/Components/Facility/Investigations/index.tsx +++ b/src/Components/Facility/Investigations/index.tsx @@ -232,7 +232,7 @@ const Investigation = (props: { msg: "Investigation created successfully!", }); navigate( - `/facility/${props.facilityId}/patient/${props.patientId}/consultation/${props.consultationId}`, + `/facility/${props.facilityId}/patient/${props.patientId}/consultation/${props.consultationId}/investigations`, ); } else { setSaving(false);