- client: fix logic of top clients normalization

This commit is contained in:
Artem Baskal
2020-01-13 17:41:59 +03:00
parent 3b9d758510
commit fb8d23f51b
4 changed files with 26 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ class AutoClients extends Component {
},
{
Header: this.props.t('requests_count'),
accessor: row => this.props.normalizedTopClients[row.ip] || 0,
accessor: row => this.props.normalizedTopClients.auto[row.ip] || 0,
sortMethod: (a, b) => b - a,
id: 'statistics',
minWidth: COLUMN_MIN_WIDTH,