From 87ca675d645bda2f0ac6f36d33f5559df6cec32a Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 6 Feb 2020 12:02:25 +0100 Subject: [PATCH] Fix rowsPerPageOptions for Table pagination in ui. --- ui/src/components/DataTable.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/src/components/DataTable.js b/ui/src/components/DataTable.js index 38ca63367..682a4ba2e 100644 --- a/ui/src/components/DataTable.js +++ b/ui/src/components/DataTable.js @@ -78,9 +78,7 @@ class DataTable extends Component { return( - +
{this.props.header} @@ -92,6 +90,7 @@ class DataTable extends Component { component="div" count={this.state.count} rowsPerPage={this.state.rowsPerPage} + rowsPerPageOptions={[10, 25, 50, 100, 200, 500]} page={this.state.page} onChangePage={this.onChangePage} onChangeRowsPerPage={this.onChangeRowsPerPage}