mirror of
https://github.com/strapi/strapi.git
synced 2026-01-08 05:04:10 +00:00
Merge branch 'develop' of github.com:strapi/strapi into front/auth-views
This commit is contained in:
commit
b7bbca6bfc
@ -12,7 +12,7 @@ import styles from './styles.scss';
|
||||
|
||||
/* eslint-disable jsx-a11y/anchor-is-valid */
|
||||
class GlobalPagination extends React.Component {
|
||||
getLastPageNumber = () => Math.ceil(this.props.count / this.props.params._limit);
|
||||
getLastPageNumber = () => Math.ceil(this.props.count / this.props.params._limit) || 1;
|
||||
|
||||
handleDotsClick = (e) => e.preventDefault();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user