mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 10:18:28 +00:00
Merge branch 'develop' into features/media-preview
This commit is contained in:
commit
f7d3734d9d
@ -12,7 +12,7 @@ import styles from './styles.scss';
|
|||||||
|
|
||||||
/* eslint-disable jsx-a11y/anchor-is-valid */
|
/* eslint-disable jsx-a11y/anchor-is-valid */
|
||||||
class GlobalPagination extends React.Component {
|
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();
|
handleDotsClick = (e) => e.preventDefault();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user