* client: fix no data text
This commit is contained in:
parent
68a4cc597f
commit
bb34381a0d
|
@ -285,5 +285,6 @@
|
||||||
"client_deleted": "Client \"{{key}}\" successfully deleted",
|
"client_deleted": "Client \"{{key}}\" successfully deleted",
|
||||||
"client_added": "Client \"{{key}}\" successfully added",
|
"client_added": "Client \"{{key}}\" successfully added",
|
||||||
"client_updated": "Client \"{{key}}\" successfully updated",
|
"client_updated": "Client \"{{key}}\" successfully updated",
|
||||||
"table_statistics": "Statistics (last 24 hours)"
|
"table_statistics": "Statistics (last 24 hours)",
|
||||||
|
"clients_not_found": "No clients found"
|
||||||
}
|
}
|
|
@ -197,7 +197,6 @@ class Clients extends Component {
|
||||||
<ReactTable
|
<ReactTable
|
||||||
data={clients || []}
|
data={clients || []}
|
||||||
columns={this.columns}
|
columns={this.columns}
|
||||||
noDataText={t('dhcp_leases_not_found')}
|
|
||||||
className="-striped -highlight card-table-overflow"
|
className="-striped -highlight card-table-overflow"
|
||||||
showPagination={true}
|
showPagination={true}
|
||||||
defaultPageSize={10}
|
defaultPageSize={10}
|
||||||
|
@ -209,6 +208,7 @@ class Clients extends Component {
|
||||||
pageText={t('page_table_footer_text')}
|
pageText={t('page_table_footer_text')}
|
||||||
ofText={t('of_table_footer_text')}
|
ofText={t('of_table_footer_text')}
|
||||||
rowsText={t('rows_table_footer_text')}
|
rowsText={t('rows_table_footer_text')}
|
||||||
|
noDataText={t('clients_not_found')}
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Reference in New Issue