Changes in Regularization tab.

This commit is contained in:
Kartik Sharma 2025-10-14 14:42:33 +05:30
parent 8b766abe46
commit 2845ad67d1
2 changed files with 244 additions and 243 deletions

View File

@ -327,8 +327,7 @@ useEffect(() => {
(pageNumber) => ( (pageNumber) => (
<li <li
key={pageNumber} key={pageNumber}
className={`page-item ${ className={`page-item ${currentPage === pageNumber ? "active" : ""
currentPage === pageNumber ? "active" : ""
}`} }`}
> >
<button <button
@ -341,8 +340,7 @@ useEffect(() => {
) )
)} )}
<li <li
className={`page-item ${ className={`page-item ${currentPage === totalPages ? "disabled" : ""
currentPage === totalPages ? "disabled" : ""
}`} }`}
> >
<button <button

View File

@ -102,6 +102,7 @@ const Regularization = ({
}, [employeeHandler]); }, [employeeHandler]);
return ( return (
<div>
<div <div
className="table-responsive text-nowrap pb-4" className="table-responsive text-nowrap pb-4"
style={{ minHeight: "200px" }} style={{ minHeight: "200px" }}
@ -197,6 +198,7 @@ const Regularization = ({
</span> </span>
</div> </div>
)} )}
</div>
{totalPages > 0 && ( {totalPages > 0 && (
<Pagination <Pagination
currentPage={currentPage} currentPage={currentPage}
@ -204,6 +206,7 @@ const Regularization = ({
onPageChange={paginate} onPageChange={paginate}
/> />
)} )}
</div> </div>
); );
}; };