We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953428b commit 9056c44Copy full SHA for 9056c44
site/src/components/PaginationWidget/PaginationWidget.tsx
@@ -40,11 +40,6 @@ export const PaginationWidget = ({
40
const firstPageActive = currentPage === 1 && numPages !== 0
41
const lastPageActive = currentPage === numPages && numPages !== 0
42
43
- // No need to display any pagination if we know the number of pages is 1 or 0
44
- if ((numPages && numPages <= 1) || numRecords === 0) {
45
- return null
46
- }
47
-
48
return (
49
<div style={containerStyle} className={styles.defaultContainerStyles}>
50
<Button
0 commit comments