mirror of
https://github.com/strapi/strapi.git
synced 2025-08-03 22:39:01 +00:00
Fix pagination
This commit is contained in:
parent
23bc7e9f0c
commit
21d51a23cb
@ -154,7 +154,7 @@ class Pagination extends React.Component { // eslint-disable-line react/prefer-s
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add next page link
|
// Add next page link
|
||||||
if (!this.isLastPage() && !this.isFirstPage()) {
|
if (!this.isLastPage() && this.props.count > this.props.limit) {
|
||||||
linksOptions.push({
|
linksOptions.push({
|
||||||
value: this.props.currentPage + 1,
|
value: this.props.currentPage + 1,
|
||||||
isActive: false,
|
isActive: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user