mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-30 13:11:37 +03:00
add client column and tooltip to blocked requests
This commit is contained in:
parent
f12ef5d504
commit
bed92f89f0
4 changed files with 49 additions and 8 deletions
client/src/helpers
|
@ -14,6 +14,9 @@ export const normalizeLogs = logs => logs.map((log) => {
|
|||
time,
|
||||
question,
|
||||
answer: response,
|
||||
reason,
|
||||
client,
|
||||
rule,
|
||||
} = log;
|
||||
const { host: domain, type } = question;
|
||||
const responsesArray = response ? response.map((response) => {
|
||||
|
@ -25,6 +28,9 @@ export const normalizeLogs = logs => logs.map((log) => {
|
|||
domain,
|
||||
type,
|
||||
response: responsesArray,
|
||||
reason,
|
||||
client,
|
||||
rule,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue