mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-30 04:19:28 +03:00
Merge: - client: fix loading of additional search results
Closes #1275 * commit '86df748209cafc14379a0d43d321b4c4ed318dd5': - client: fix loading of additional search results
This commit is contained in:
commit
e667ec1b60
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ const checkFilteredLogs = async (data, filter, dispatch, total) => {
|
|||
|
||||
try {
|
||||
const additionalLogs = await getLogsWithParams({ older_than: oldest, filter });
|
||||
if (additionalLogs.logs.length > 0) {
|
||||
if (additionalLogs.oldest.length > 0) {
|
||||
return await checkFilteredLogs(additionalLogs, filter, dispatch, {
|
||||
logs: [...totalData.logs, ...additionalLogs.logs],
|
||||
oldest: additionalLogs.oldest,
|
||||
|
|
Loading…
Reference in a new issue