Merge pull request 'Invalid Date Displayed Instead of "NA" in Employee List' (#380) from Kartik_Bug#1039 into Issues_Sep_1W

Reviewed-on: #380
Merged
This commit is contained in:
pramod.mahajan 2025-09-10 04:43:23 +00:00
commit aa45731d8c

View File

@ -606,9 +606,10 @@ const EmployeeList = () => {
{item.jobRole || "Not Assign Yet"}
</span>
</td>
<td className=" d-none d-md-table-cell">
{moment(item.joiningDate)?.format("DD-MMM-YYYY")}
{item.joiningDate
? moment(item.joiningDate).format("DD-MMM-YYYY")
: "NA"}
</td>
<td>
{showInactive ? (