Added pagination to the Filters table

Closes #484
This commit is contained in:
Ildar Kamalov 2018-12-24 12:08:39 +03:00
parent b195080012
commit 9fe9baf7f4
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ class Filters extends Component {
<ReactTable <ReactTable
data={filters} data={filters}
columns={this.columns} columns={this.columns}
showPagination={false} showPagination={true}
defaultPageSize={10}
noDataText={ t('no_filters_added') } noDataText={ t('no_filters_added') }
minRows={4} // TODO find out what to show if rules.length is 0 minRows={4} // TODO find out what to show if rules.length is 0
/> />