Merge: - client: fix empty log error

Closes #1983

* commit '3ff0c964dc05c0b393b6b7140cf59bffb8f70806':
  - client: fix empty log error
This commit is contained in:
Ildar Kamalov 2020-08-03 15:44:55 +03:00
commit 6bb6c700d6

View file

@ -42,7 +42,7 @@ const queryLogs = handleActions(
const rowsStart = pageSize * page;
const rowsEnd = rowsStart + pageSize;
const logsSlice = logs.slice(rowsStart, rowsEnd);
const isFiltered = Object.keys(filter).some((key) => filter[key]);
const isFiltered = filter && Object.keys(filter).some((key) => filter[key]);
return {
...state,