From 4eb0a8a98ec3fd1e447c6ed77d58fccec0a9dc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 23 Jul 2022 13:38:14 +0200 Subject: [PATCH] Plugins: Fixes navigation between different plugin pages (#52571) --- 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 a088cd3fdfd..d28f89ba652 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(); } }