From 86960702498f5ae6dcde02063d1fcc74141a316a Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Tue, 6 May 2025 22:53:53 +0530 Subject: [PATCH] pagination only display if have records greather than 20 --- src/pages/master/MasterTable.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/master/MasterTable.jsx b/src/pages/master/MasterTable.jsx index 2341656b..b39d0472 100644 --- a/src/pages/master/MasterTable.jsx +++ b/src/pages/master/MasterTable.jsx @@ -143,7 +143,7 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => { )} {/* Pagination */} - {!loading && ( + {!loading && safeData.length > 20 && (