diff --git a/src/components/Shifting/ShiftDetails.tsx b/src/components/Shifting/ShiftDetails.tsx index 666bd1bcb38..77250f71e17 100644 --- a/src/components/Shifting/ShiftDetails.tsx +++ b/src/components/Shifting/ShiftDetails.tsx @@ -90,7 +90,7 @@ export default function ShiftDetails(props: { id: string }) { "\n" + t("age") + ":" + - +(data?.patient_object + (data?.patient_object ? formatPatientAge(data.patient_object, true) : "") + "\n" +