Skip to content

Commit

Permalink
resolves age field NaN issue for shifting patient copy to clipboard f…
Browse files Browse the repository at this point in the history
…eature
  • Loading branch information
mnshrm committed Nov 2, 2024
1 parent 3757705 commit d05c3d0
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 d05c3d0

Please sign in to comment.