Pull request #2323: AGDNS-2598-clients-search
Merge in DNS/adguard-home from AGDNS-2598-clients-search to master Squashed commit of the following: commit 9df3c19acad16203ccaa7752902bce8bc835c8fb Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Dec 16 19:11:43 2024 +0300 home: imp code commit 7bf8f0a516b57fab6c19c24e4a156c87d9c4d03f Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Dec 16 18:34:06 2024 +0300 all: imp code commit 2dd1c941232ceeaef4c506717096a8b8e8555e6e Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Fri Dec 13 17:35:11 2024 +0300 all: clients search
This commit is contained in:
@@ -46,7 +46,7 @@ export const getStats = () => async (dispatch: any) => {
|
||||
const normalizedTopClients = normalizeTopStats(stats.top_clients);
|
||||
|
||||
const clientsParams = getParamsForClientsSearch(normalizedTopClients, 'name');
|
||||
const clients = await apiClient.findClients(clientsParams);
|
||||
const clients = await apiClient.searchClients(clientsParams);
|
||||
const topClientsWithInfo = addClientInfo(normalizedTopClients, clients, 'name');
|
||||
|
||||
const normalizedStats = {
|
||||
|
||||
Reference in New Issue
Block a user