- client: fix empty log error
This commit is contained in:
parent
3cecd6f090
commit
3ff0c964dc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue