From 4751528d690a6464354c7d6163450f929454c4f3 Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Tue, 26 Nov 2019 19:24:22 +0300 Subject: [PATCH] - client: fix table size and add pagination --- client/src/components/Settings/Dhcp/Leases.js | 3 ++- client/src/components/Settings/Dhcp/StaticLeases/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/components/Settings/Dhcp/Leases.js b/client/src/components/Settings/Dhcp/Leases.js index 04935c80..0a61299f 100644 --- a/client/src/components/Settings/Dhcp/Leases.js +++ b/client/src/components/Settings/Dhcp/Leases.js @@ -36,7 +36,8 @@ class Leases extends Component { Cell: this.cellWrap, }, ]} - showPagination={false} + pageSize={100} + showPagination={true} noDataText={t('dhcp_leases_not_found')} minRows={6} className="-striped -highlight card-table-overflow" diff --git a/client/src/components/Settings/Dhcp/StaticLeases/index.js b/client/src/components/Settings/Dhcp/StaticLeases/index.js index e96e806e..a1a3d0b5 100644 --- a/client/src/components/Settings/Dhcp/StaticLeases/index.js +++ b/client/src/components/Settings/Dhcp/StaticLeases/index.js @@ -82,7 +82,8 @@ class StaticLeases extends Component { }, }, ]} - showPagination={false} + pageSize={100} + showPagination={true} noDataText={t('dhcp_static_leases_not_found')} className="-striped -highlight card-table-overflow" minRows={6}