Implemented attendance funcationality in attendance module
This commit is contained in:
parent
2848177908
commit
351e5a2b0d
@ -81,7 +81,6 @@ const AttendancePage = () => {
|
|||||||
|
|
||||||
const handler = useCallback(
|
const handler = useCallback(
|
||||||
(msg) => {
|
(msg) => {
|
||||||
console.log("Equal:", selectedProject == msg.projectId);
|
|
||||||
if (selectedProject == msg.projectId) {
|
if (selectedProject == msg.projectId) {
|
||||||
const updatedAttendance = attendances.map((item) =>
|
const updatedAttendance = attendances.map((item) =>
|
||||||
item.employeeId === msg.response.employeeId
|
item.employeeId === msg.response.employeeId
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user