Pagination fix
This commit is contained in:
1 parent
c3ab0a0948
commit
d871907d97
1 file changed
+1
-1
@@ -91,7 +91,7 @@ const BasicTable = ({ data, paginated, reversed }) => {
|
||||
}
|
||||
|
||||
let paginationComponent = <></>;
|
||||
if (paginated === true && displayData.length > rowsPerPage) {
|
||||
if (paginated === true && data.rows.length > rowsPerPage) {
|
||||
paginationComponent = (
|
||||
<Pagination
|
||||
count={Math.ceil(data.rows.length / rowsPerPage)}
|
||||
|
||||
Reference in new issue
Block a user