pagination only display if have records greather than 20

This commit is contained in:
Pramod Mahajan 2025-05-06 22:53:53 +05:30
parent 099a3bcc36
commit 8696070249

View File

@ -143,7 +143,7 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => {
)}
{/* Pagination */}
{!loading && (
{!loading && safeData.length > 20 && (
<nav aria-label="Page ">
<ul className="pagination pagination-sm justify-content-end py-1">
<li className={`page-item ${currentPage === 1 ? "disabled" : ""}`}>