From 30267e779b00d582fdc25b5f469f9a1ce638cc18 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Mon, 13 Oct 2025 11:17:09 +0530 Subject: [PATCH] =?UTF-8?q?=E2=80=9CNA=E2=80=9D=20Should=20Be=20Displayed?= =?UTF-8?q?=20When=20Employee=20Has=20No=20Email=20Instead=20of=20?= =?UTF-8?q?=E2=80=9C=E2=80=93=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Documents/Documents.jsx | 2 +- src/components/Employee/EmpAttendance.jsx | 1 - src/pages/employee/EmployeeList.jsx | 50 +++++++++++------------ 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/src/components/Documents/Documents.jsx b/src/components/Documents/Documents.jsx index 8210bf58..f3649664 100644 --- a/src/components/Documents/Documents.jsx +++ b/src/components/Documents/Documents.jsx @@ -149,7 +149,7 @@ const Documents = ({ Document_Entity, Entity }) => { -
+
{(isSelf || canUploadDocument) && (
- + {item.email ? ( {item.email} ) : ( - - - - + NA )} + @@ -567,9 +562,14 @@ const EmployeeList = () => { - - {moment(item.joiningDate)?.format("DD-MMM-YYYY")} + + {item.joiningDate ? ( + moment(item.joiningDate).format("DD-MMM-YYYY") + ) : ( + NA + )} + {showInactive ? (