Pull request 2375: ADG-9850 query-log-search-form-fix
Updates #7704. 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 d0c0935f30683841aaa79ffc149fe5e31938724b 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:
committed by
Ainar Garipov
parent
cb5de5c653
commit
85e6bf54c9
@@ -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.
|
||||
-->
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user