mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
add pagination test
This commit is contained in:
@@ -89,9 +89,8 @@ class Pagination extends Component {
|
||||
|
||||
onSelectPageSize ({ target }) {
|
||||
const { onSetPage } = this.props;
|
||||
|
||||
const page = 1;
|
||||
const page_size = parseInt(target.innerText, 10);
|
||||
const page_size = parseInt(target.innerText || target.textContent, 10);
|
||||
|
||||
this.setState({ isOpen: false });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user