- client: sort clients table by requests count by default

This commit is contained in:
Artem Baskal
2019-12-20 14:15:57 +03:00
parent b54bf94697
commit 57c031c1c6
5 changed files with 40 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
import { handleActions } from 'redux-actions';
import { normalizeTopClients } from '../helpers/helpers';
import * as actions from '../actions/stats';
@@ -64,6 +65,7 @@ const stats = handleActions(
replacedSafebrowsing,
topBlockedDomains,
topClients,
normalizedTopClients: normalizeTopClients(topClients),
topQueriedDomains,
numBlockedFiltering,
numDnsQueries,