mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +00:00
Redirect to first page after limit update
This commit is contained in:
parent
3f601ac3d5
commit
03e941e531
@ -172,6 +172,7 @@ function mapDispatchToProps(dispatch) {
|
||||
onLimitChange: (e) => {
|
||||
const newLimit = Number(e.target.value);
|
||||
dispatch(changeLimit(newLimit));
|
||||
dispatch(changePage(1));
|
||||
dispatch(loadRecords());
|
||||
e.target.blur();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user