From 22d24105084e69a71b7992db341e0039a1f2990f Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Wed, 7 Feb 2024 10:29:20 +0700 Subject: [PATCH] bugs fix --- .../pages/AlarmCenter/ServiceMonitoring.tsx | 92 ++++++++----------- 1 file changed, 38 insertions(+), 54 deletions(-) diff --git a/frontend/client-portal/src/pages/AlarmCenter/ServiceMonitoring.tsx b/frontend/client-portal/src/pages/AlarmCenter/ServiceMonitoring.tsx index b6f0a312..ba5092a6 100644 --- a/frontend/client-portal/src/pages/AlarmCenter/ServiceMonitoring.tsx +++ b/frontend/client-portal/src/pages/AlarmCenter/ServiceMonitoring.tsx @@ -367,8 +367,15 @@ export default function ServiceMonitoring() { + + + {loading ? : 'Detail Letter Of Guarante'} + + + + @@ -1114,60 +1121,37 @@ export default function ServiceMonitoring() { key={dateIndex} > - {date ? date : '-'} - {data.laboratoriumResults[date].map( - (laboratoriumResult, laboratoriumResultIndex) => ( - - - - - - Date - Examination - Location - {/* */} - - - - - - - - - {laboratoriumResult.examination - ? laboratoriumResult.examination - : '-'} - - - {laboratoriumResult.location - ? laboratoriumResult.location - : '-'} - - {/* - handleDownloadClick(laboratoriumResult.file)} - > - - Download - - - } - /> */} - - -
-
- ) - )} + {date ? date : '-'} + {data.laboratoriumResults[date]?.map((laboratoriumResult, laboratoriumResultIndex) => ( + + + + + + Date + Examination + Location + + + + + + {laboratoriumResult.examination || '-'} + {laboratoriumResult.location || '-'} + {/* + handleDownloadClick(laboratoriumResult.file)}> + Download + + + } + /> */} + + +
+
+ ))}
))