+ client: handle blocked by response in query log

This commit is contained in:
Ildar Kamalov 2019-11-29 18:05:15 +03:00 committed by Simon Zolin
parent e7727e9f63
commit e8885dbf3e
3 changed files with 25 additions and 6 deletions
client/src/helpers

View file

@ -50,6 +50,7 @@ export const normalizeLogs = logs => logs.map((log) => {
rule,
service_name,
status,
original_answer,
} = log;
const { host: domain, type } = question;
const responsesArray = response ? response.map((response) => {
@ -65,8 +66,9 @@ export const normalizeLogs = logs => logs.map((log) => {
client,
filterId,
rule,
serviceName: service_name,
status,
serviceName: service_name,
originalAnswer: original_answer,
};
});