1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

[system admin] all repos: added 'sort by size & file count' (#4414)

This commit is contained in:
llj
2020-03-09 14:00:20 +08:00
committed by GitHub
parent 9b1a17e7c5
commit 1afbb10146
3 changed files with 46 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ const propTypes = {
class Paginator extends Component {
resetPerPage = (e) => {
const perPage = e.target.value;
const perPage = parseInt(e.target.value);
this.updateURL(1, perPage);
this.props.resetPerPage(perPage);
}