Pull request 2375: ADG-9850 query-log-search-form-fix

Updates .

Squashed commit of the following:

commit 16ef53ea6bb687139bc62ffee0a8b87fee676f1c
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Mar 20 13:24:48 2025 +0300

    all: upd chlog

commit d0c0935f30
Author: Igor Lobanov <bniwredyc@gmail.com>
Date:   Wed Mar 19 19:02:13 2025 +0100

    fixed query log search form
This commit is contained in:
Igor 🐧 Lobanov 2025-03-20 13:57:31 +03:00 committed by Ainar Garipov
parent cb5de5c653
commit 85e6bf54c9
2 changed files with 7 additions and 1 deletions
CHANGELOG.md
client/src/components/Logs/Filters

View file

@ -18,6 +18,12 @@ See also the [v0.107.59 GitHub milestone][ms-v0.107.59].
NOTE: Add new changes BELOW THIS COMMENT.
-->
### Fixed
- The search form not working in the query log ([#7704]).
[#7704]: https://github.com/AdguardTeam/AdGuardHome/issues/7704
<!--
NOTE: Add new changes ABOVE THIS COMMENT.
-->

View file

@ -62,7 +62,7 @@ export const Form = ({ className, setIsLoading }: Props) => {
if (searchUrlParam !== searchValue) {
setValue('search', searchUrlParam ? searchUrlParam.toString() : '');
}
}, [history.location.search, setValue, searchValue]);
}, [history.location.search]);
const onInputClear = async () => {
setIsLoading(true);