From 54e3e6e1514be61162e178c6047bbbb14ac69131 Mon Sep 17 00:00:00 2001 From: Jayasanka Weerasinghe Date: Tue, 7 Jan 2020 10:37:50 +0530 Subject: [PATCH] Change pagesize of groups table in devicemgt react app --- .../react-app/src/components/Groups/GroupsTable.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/io.entgra.device.mgt.ui/react-app/src/components/Groups/GroupsTable.js b/components/device-mgt/io.entgra.device.mgt.ui/react-app/src/components/Groups/GroupsTable.js index 832552001b6..22b1f3bc080 100644 --- a/components/device-mgt/io.entgra.device.mgt.ui/react-app/src/components/Groups/GroupsTable.js +++ b/components/device-mgt/io.entgra.device.mgt.ui/react-app/src/components/Groups/GroupsTable.js @@ -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); \ No newline at end of file +export default withConfigContext(GroupsTable);