+ client: add whois info to dashboard and logs

This commit is contained in:
Ildar Kamalov
2019-09-23 16:02:47 +03:00
parent 9e4f80f3c1
commit a52715e086
6 changed files with 86 additions and 46 deletions

View File

@@ -128,7 +128,7 @@ class ClientsTable extends Component {
{
Header: this.props.t('blocked_services'),
accessor: 'blocked_services',
minWidth: 210,
minWidth: 180,
Cell: (row) => {
const { value, original } = row;
@@ -156,6 +156,7 @@ class ClientsTable extends Component {
{
Header: this.props.t('requests_count'),
accessor: 'statistics',
minWidth: 120,
Cell: (row) => {
const clientIP = row.original.ip;
const clientStats = clientIP && this.getStats(clientIP, this.props.topClients);