- client: fix empty log error

This commit is contained in:
Ildar Kamalov 2020-08-01 16:14:50 +03:00
parent 3cecd6f090
commit 3ff0c964dc
1 changed files with 1 additions and 1 deletions

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,