Merge: - client: fix query log on edge legacy

Closes #1976

* commit '552280e9a36a15c7c2347af75d97fe2943f80093':
  - client: fix query log not load on edge legacy
This commit is contained in:
Ildar Kamalov 2020-08-03 15:45:31 +03:00
commit 4f3d503916
1 changed files with 3 additions and 2 deletions

View File

@ -669,5 +669,6 @@ export const getLogsUrlParams = (search, response_status) => `?${queryString.str
})}`;
export const processContent = (content) => (Array.isArray(content)
? content.filter(([, value]) => value)
.flat() : content);
? content.filter(([, value]) => value).reduce((acc, val) => acc.concat(val), [])
: content
);