From 6dcaa1e5677bffc545be2a8a2f337cbb964bbc0b Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Sat, 23 Jul 2022 14:01:11 +0200 Subject: [PATCH] Plugins: Fixes navigation between different plugin pages (#52571) (#52680) --- public/app/features/plugins/components/AppRootPage.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/app/features/plugins/components/AppRootPage.tsx b/public/app/features/plugins/components/AppRootPage.tsx index c5b7b6c20a1..13ceddb6761 100644 --- a/public/app/features/plugins/components/AppRootPage.tsx +++ b/public/app/features/plugins/components/AppRootPage.tsx @@ -80,9 +80,7 @@ class AppRootPage extends Component { const { params } = this.props.match; if (prevProps.match.params.pluginId !== params.pluginId) { - this.setState({ - loading: true, - }); + this.setState({ loading: true, plugin: null }); this.loadPluginSettings(); } }