Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit 78186d6

Browse files
committed
Merge pager into master
2 parents f55f313 + 477c1ec commit 78186d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/reactable/table.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export class Table extends React.Component {
425425
currentPage = numPages - 1;
426426
}
427427

428-
pagination = true;
428+
pagination = numPages > 1;
429429
currentChildren = filteredChildren.slice(
430430
currentPage * itemsPerPage,
431431
(currentPage + 1) * itemsPerPage

0 commit comments

Comments
 (0)