* client: fix no data text

This commit is contained in:
Ildar Kamalov 2019-05-22 18:50:06 +03:00 committed by Simon Zolin
parent 68a4cc597f
commit bb34381a0d
2 changed files with 3 additions and 2 deletions

View file

@ -285,5 +285,6 @@
"client_deleted": "Client \"{{key}}\" successfully deleted",
"client_added": "Client \"{{key}}\" successfully added",
"client_updated": "Client \"{{key}}\" successfully updated",
"table_statistics": "Statistics (last 24 hours)"
"table_statistics": "Statistics (last 24 hours)",
"clients_not_found": "No clients found"
}

View file

@ -197,7 +197,6 @@ class Clients extends Component {
<ReactTable
data={clients || []}
columns={this.columns}
noDataText={t('dhcp_leases_not_found')}
className="-striped -highlight card-table-overflow"
showPagination={true}
defaultPageSize={10}
@ -209,6 +208,7 @@ class Clients extends Component {
pageText={t('page_table_footer_text')}
ofText={t('of_table_footer_text')}
rowsText={t('rows_table_footer_text')}
noDataText={t('clients_not_found')}
/>
<button
type="button"