diff --git a/public/app/features/scopes/internal/ScopesDashboardsScene.tsx b/public/app/features/scopes/internal/ScopesDashboardsScene.tsx index eda28702643..bd06cb3a08b 100644 --- a/public/app/features/scopes/internal/ScopesDashboardsScene.tsx +++ b/public/app/features/scopes/internal/ScopesDashboardsScene.tsx @@ -47,7 +47,7 @@ export class ScopesDashboardsScene extends SceneObjectBase { - if (this.state.isPanelOpened) { + if (this.state.isEnabled && this.state.isPanelOpened) { this.fetchDashboards(); } @@ -57,6 +57,7 @@ export class ScopesDashboardsScene extends SceneObjectBase { if ( + this.state.isEnabled && this.state.isPanelOpened && !newState.isLoadingScopes && (prevState.isLoadingScopes || newState.scopes !== prevState.scopes)