From 05c01d1d3403ea8bfdcb593782bd5c9a2b1e4464 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Tue, 14 Oct 2025 14:32:45 +0530 Subject: [PATCH] Changes in Attendance page. --- src/components/Activities/Attendance.jsx | 86 ++++++++++---------- src/components/Activities/AttendcesLogs.jsx | 47 +++++------ src/components/Activities/Regularization.jsx | 40 --------- 3 files changed, 66 insertions(+), 107 deletions(-) diff --git a/src/components/Activities/Attendance.jsx b/src/components/Activities/Attendance.jsx index c46feac3..b7ddfaff 100644 --- a/src/components/Activities/Attendance.jsx +++ b/src/components/Activities/Attendance.jsx @@ -223,50 +223,6 @@ const Attendance = ({ getRole, handleModalData, searchTerm, projectId, organizat )} - - - {!loading && finalFilteredData.length > ITEMS_PER_PAGE && ( - - )} ) : (
)}
+ {!loading && finalFilteredData.length > ITEMS_PER_PAGE && ( + + )} ); }; diff --git a/src/components/Activities/AttendcesLogs.jsx b/src/components/Activities/AttendcesLogs.jsx index 7a346f67..dea24b4e 100644 --- a/src/components/Activities/AttendcesLogs.jsx +++ b/src/components/Activities/AttendcesLogs.jsx @@ -171,29 +171,30 @@ const AttendanceLog = ({ handleModalData, searchTerm, organizationId }) => { return ( <> -
-
- -
- setShowPending(e.target.checked)} - /> - -
-
-
+
+
+ +
+ setShowPending(e.target.checked)} + /> + +
+
+
+
)} - {/* {!loading && totalPages > 1 && ( - - )} */} - {totalPages > 0 && (