From 325547a6bdf95a5843417a8af87fb70143639b09 Mon Sep 17 00:00:00 2001 From: Ashesh <3626859+Ashesh3@users.noreply.github.com> Date: Wed, 7 Feb 2024 22:17:43 +0530 Subject: [PATCH] Make log update button responsive (#7191) * Make log update button responsive * Update PatientInfoCard component styling --- src/Components/Patient/PatientInfoCard.tsx | 603 +++++++++++---------- 1 file changed, 303 insertions(+), 300 deletions(-) diff --git a/src/Components/Patient/PatientInfoCard.tsx b/src/Components/Patient/PatientInfoCard.tsx index 8cbb24c61a9..c954438e6c2 100644 --- a/src/Components/Patient/PatientInfoCard.tsx +++ b/src/Components/Patient/PatientInfoCard.tsx @@ -471,347 +471,350 @@ export default function PatientInfoCard(props: { )} - {[ - [ - `/facility/${patient.facility}/patient/${patient.id}/consultation/${consultation?.id}/daily-rounds`, - "Log Update", - "plus", - patient.is_active && - consultation?.id && - !consultation?.discharge_date, +
{action[1]}
- -- {action[4][1]} -
- > - )} -{action[1]}
+ + + {action?.[4]?.[0] && ( + <> ++ {action[4][1]} +
+ > + )} ++ {action[4][1]} +
+ > + )} +- {action[4][1]} -
+Link ABHA Number
+ +Track Shifting
+Shift Patient
+Link ABHA Number
- -Track Shifting
- -Shift Patient
- -{t("discharge_summary")}
+ +{t("discharge_summary")}
- -{t("discharge_from_care")}
- -{t("discharge_from_care")}
+ +