From 0f30c9c4b8a0e665e97cd245b704fab4032e30b2 Mon Sep 17 00:00:00 2001 From: ivan-sim Date: Thu, 3 Oct 2024 16:32:19 +0700 Subject: [PATCH] Update --- frontend/hospital-portal/src/components/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/hospital-portal/src/components/Table.tsx b/frontend/hospital-portal/src/components/Table.tsx index 5bd2c78a..e288ec31 100755 --- a/frontend/hospital-portal/src/components/Table.tsx +++ b/frontend/hospital-portal/src/components/Table.tsx @@ -639,7 +639,7 @@ const allowedStatusesForCSLMS = ['ready', 'waiting_for_courir', 'package_picked_ {localeData.txtTanggalLahirUmur} : - {row.tgl_lahir_pasien ? fDateTimeWithAge(row.tgl_lahir_pasien) : ''} + {row.tgl_lahir_pasien && row.tgl_lahir_pasien !=='0000-00-00' ? fDateTimeWithAge(row.tgl_lahir_pasien) : ''} {localeData.txtJenisKelamin} :