mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 13:05:36 +03:00
Merge: - client: fix empty log error
Closes #1983 * commit '3ff0c964dc05c0b393b6b7140cf59bffb8f70806': - client: fix empty log error
This commit is contained in:
commit
6bb6c700d6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const queryLogs = handleActions(
|
||||||
const rowsStart = pageSize * page;
|
const rowsStart = pageSize * page;
|
||||||
const rowsEnd = rowsStart + pageSize;
|
const rowsEnd = rowsStart + pageSize;
|
||||||
const logsSlice = logs.slice(rowsStart, rowsEnd);
|
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 {
|
return {
|
||||||
...state,
|
...state,
|
||||||
|
|
Loading…
Reference in a new issue