diff --git a/public/app/core/reducers/location.ts b/public/app/core/reducers/location.ts index 7c7dffd04b9..c9fe478dd9d 100644 --- a/public/app/core/reducers/location.ts +++ b/public/app/core/reducers/location.ts @@ -23,7 +23,9 @@ export const locationReducer = (state = initialState, action: Action): LocationS return { url: renderUrl(path || state.path, query), path: path || state.path, - query: query, + query: { + ...query, + }, routeParams: routeParams || state.routeParams, }; }