Handled wrong implementation on attendance log popup to show Attendance By Employee name

This commit is contained in:
Vikas Nale 2025-05-07 16:56:56 +05:30
parent 18125f7c6a
commit 16a9cab12a

View File

@ -141,8 +141,8 @@ const AttendLogs = ({ Id }) => {
)} )}
</td> </td>
<td className="text-wrap"> <td className="text-wrap">
{`${logs[0]?.updatedByEmployee?.firstName ?? ""} ${ {`${log?.updatedByEmployee?.firstName ?? ""} ${
logs[0]?.updatedByEmployee?.lastName ?? "" log?.updatedByEmployee?.lastName ?? ""
}`} }`}
</td> </td>
<td className="text-wrap" colSpan={3}> <td className="text-wrap" colSpan={3}>