Merge pull request #121 in DNS/adguard-dns from fix/484 to master

* commit '9fe9baf7f4a68bc95adf8cfcb40f8e3346e46547':
  Added pagination to the Filters table
This commit is contained in:
Andrey Meshkov 2018-12-24 16:09:27 +03:00
commit bac2c39107
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
/> />