Skip to content

Commit

Permalink
resolves age field NaN issue for shifting patient copy to clipboard (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
mnshrm authored Nov 2, 2024
1 parent 3757705 commit 764cfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Shifting/ShiftDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down

0 comments on commit 764cfe3

Please sign in to comment.