Pull request: 4212 fix query log search results

Closes #4212.

Squashed commit of the following:

commit cd854e5bf71953c753c690c28b5571f2c8b1ea0f
Merge: 8532ca80 bf9b35b9
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Jan 31 20:10:17 2022 +0300

    Merge branch 'master' into 4212-logs

commit 8532ca80d135e4c306ac4d0c999475d77ba51a02
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Jan 31 19:22:52 2022 +0300

    fix lint

commit 1a85074180d95d7a7aad854c75a7a811aee719e9
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Jan 31 19:14:54 2022 +0300

    client: fix query log search results
This commit is contained in:
Ildar Kamalov 2022-01-31 20:14:09 +03:00 committed by Ainar Garipov
parent bf9b35b9c6
commit 2d46aa7121
1 changed files with 1 additions and 5 deletions

View File

@ -28,11 +28,7 @@ const queryLogs = handleActions(
}; };
}, },
[actions.setLogsFilterRequest]: (state, { payload }) => { [actions.setLogsFilterRequest]: (state, { payload }) => ({ ...state, filter: payload }),
const { filter } = payload;
return { ...state, filter };
},
[actions.getLogsRequest]: (state) => ({ ...state, processingGetLogs: true }), [actions.getLogsRequest]: (state) => ({ ...state, processingGetLogs: true }),
[actions.getLogsFailure]: (state) => ({ ...state, processingGetLogs: false }), [actions.getLogsFailure]: (state) => ({ ...state, processingGetLogs: false }),