mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
use existing queryparams prop in AppRootPage (#34464)
This commit is contained in:
parent
1d7595374a
commit
f166b22b52
@ -10,8 +10,6 @@ import { getNotFoundNav, getWarningNav, getExceptionNav } from 'app/core/nav_mod
|
||||
import { appEvents } from 'app/core/core';
|
||||
import PageLoader from 'app/core/components/PageLoader/PageLoader';
|
||||
import { GrafanaRouteComponentProps } from 'app/core/navigation/types';
|
||||
import { locationSearchToObject } from '@grafana/runtime';
|
||||
|
||||
interface RouteParams {
|
||||
pluginId: string;
|
||||
}
|
||||
@ -107,7 +105,7 @@ class AppRootPage extends Component<Props, State> {
|
||||
meta={plugin.meta}
|
||||
basename={this.props.match.url}
|
||||
onNavChanged={this.onNavChanged}
|
||||
query={locationSearchToObject(this.props.location.search) as KeyValue}
|
||||
query={this.props.queryParams as KeyValue}
|
||||
path={this.props.location.pathname}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user