Invalid Date Displayed Instead of "NA" in Employee List
This commit is contained in:
parent
0e35194a82
commit
614d61e6e9
@ -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 ? (
|
||||
|
Loading…
x
Reference in New Issue
Block a user