Change pagesize of groups table in devicemgt react app

This commit is contained in:
Jayasanka Weerasinghe 2020-01-07 10:37:50 +05:30
parent e1f7c3b073
commit 54e3e6e151

View File

@ -175,11 +175,9 @@ class GroupsTable extends React.Component {
pagination={{
...pagination,
size: "small",
// position: "top",
total: data.count,
pageSize: 2,
pageSize: 10,
showTotal: (total, range) => `showing ${range[0]}-${range[1]} of ${total} groups`
// showQuickJumper: true
}}
loading={loading}
onChange={this.handleTableChange}
@ -191,4 +189,4 @@ class GroupsTable extends React.Component {
}
}
export default withConfigContext(GroupsTable);
export default withConfigContext(GroupsTable);