Plugins: Fixes navigation between different plugin pages (#52571)

This commit is contained in:
Torkel Ödegaard 2022-07-23 13:38:14 +02:00 committed by GitHub
parent 2fa10dc903
commit 4eb0a8a98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,7 @@ class AppRootPage extends Component<Props, State> {
const { params } = this.props.match;
if (prevProps.match.params.pluginId !== params.pluginId) {
this.setState({
loading: true,
});
this.setState({ loading: true, plugin: null });
this.loadPluginSettings();
}
}