diff --git a/public/app/features/plugins/AppRootPage.tsx b/public/app/features/plugins/AppRootPage.tsx index be381da635f..a4243995557 100644 --- a/public/app/features/plugins/AppRootPage.tsx +++ b/public/app/features/plugins/AppRootPage.tsx @@ -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 { 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} /> )}