mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 03:02:07 +03:00
Pull request: client: reset filtered logs on url params clear
Merge in DNS/adguard-home from fix-querylog-link to master
Squashed commit of the following:
commit fc4043258eb1e427a76ee44d2a4a525a6d659ab9
Merge: 25b91504 549b20bd
Author: Ildar Kamalov <ik@adguard.com>
Date: Thu May 26 12:42:02 2022 +0300
Merge branch 'master' into fix-querylog-link
commit 25b91504e8949bd381e6774148e4a7ecbb81610e
Author: Ildar Kamalov <ik@adguard.com>
Date: Thu May 26 12:21:57 2022 +0300
fix
commit f567b9b1e4eeb6499c79b05e4d837e905850a6b9
Author: Ildar Kamalov <ik@adguard.com>
Date: Thu May 26 12:20:48 2022 +0300
client: reset filtered logs on url params clear
This commit is contained in:
parent
549b20bdea
commit
1a49d2f0c9
@ -152,6 +152,16 @@ const Logs = () => {
|
||||
};
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (!history.location.search) {
|
||||
(async () => {
|
||||
setIsLoading(true);
|
||||
await dispatch(setFilteredLogs());
|
||||
setIsLoading(false);
|
||||
})();
|
||||
}
|
||||
}, [history.location.search]);
|
||||
|
||||
const renderPage = () => <>
|
||||
<Filters
|
||||
filter={{
|
||||
|
Loading…
Reference in New Issue
Block a user