diff --git a/src/Components/TeleIcu/Patient/InfoCard.tsx b/src/Components/TeleIcu/Patient/InfoCard.tsx index 445a7d137a..a7d80aadd3 100644 --- a/src/Components/TeleIcu/Patient/InfoCard.tsx +++ b/src/Components/TeleIcu/Patient/InfoCard.tsx @@ -46,13 +46,29 @@ export default function TeleICUPatientInfoCard(props: {
{/* Can support for patient picture in the future */}
-
- {!patient.last_consultation?.current_bed ? ( - +
+ {patient?.last_consultation && + patient?.last_consultation?.current_bed ? ( +
+

+ { + patient?.last_consultation?.current_bed?.bed_object + ?.location_object?.name + } +

+

+ {patient?.last_consultation?.current_bed?.bed_object.name} +

+
) : ( - - {patient.last_consultation?.current_bed?.bed_object?.name} - +
+ +
)}