dispatch clearFilters when an item is selected (#55512)

This commit is contained in:
Ashley Harrison 2022-09-23 14:46:21 +01:00 committed by GitHub
parent c3e4f1f876
commit 480a3b92d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ export const useSearchQuery = (defaults: Partial<DashboardQuery>) => {
};
const onSelectSearchItem = () => {
dispatch(queryChange(''));
dispatch(clearFilters());
locationService.partial(
{
search: null,