mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
Browse/Search: Make browser back work properly when visiting Browse or search (#52271)
This commit is contained in:
parent
0573df931b
commit
52a7b0e75f
@ -19,7 +19,7 @@ import { defaultQuery, defaultQueryParams, queryReducer } from '../reducers/sear
|
||||
import { DashboardQuery, SearchLayout } from '../types';
|
||||
import { hasFilters, parseRouteParams } from '../utils';
|
||||
|
||||
const updateLocation = debounce((query) => locationService.partial(query), 300);
|
||||
const updateLocation = debounce((query) => locationService.partial(query, true), 300);
|
||||
|
||||
export const useSearchQuery = (defaults: Partial<DashboardQuery>) => {
|
||||
const queryParams = parseRouteParams(locationService.getSearchObject());
|
||||
|
Loading…
Reference in New Issue
Block a user