|
|
|
@ -62,6 +62,7 @@ export class DashboardCtrl implements PanelContainer { |
|
|
|
.finally(() => { |
|
|
|
.finally(() => { |
|
|
|
this.dashboard = dashboard; |
|
|
|
this.dashboard = dashboard; |
|
|
|
this.dashboard.processRepeats(); |
|
|
|
this.dashboard.processRepeats(); |
|
|
|
|
|
|
|
this.dashboard.updateSubmenuVisibility(); |
|
|
|
this.dashboard.autoFitPanels(window.innerHeight); |
|
|
|
this.dashboard.autoFitPanels(window.innerHeight); |
|
|
|
|
|
|
|
|
|
|
|
this.unsavedChangesSrv.init(dashboard, this.$scope); |
|
|
|
this.unsavedChangesSrv.init(dashboard, this.$scope); |
|
|
|
@ -71,8 +72,6 @@ export class DashboardCtrl implements PanelContainer { |
|
|
|
this.dashboardViewState = this.dashboardViewStateSrv.create(this.$scope); |
|
|
|
this.dashboardViewState = this.dashboardViewStateSrv.create(this.$scope); |
|
|
|
|
|
|
|
|
|
|
|
this.keybindingSrv.setupDashboardBindings(this.$scope, dashboard); |
|
|
|
this.keybindingSrv.setupDashboardBindings(this.$scope, dashboard); |
|
|
|
|
|
|
|
|
|
|
|
this.dashboard.updateSubmenuVisibility(); |
|
|
|
|
|
|
|
this.setWindowTitleAndTheme(); |
|
|
|
this.setWindowTitleAndTheme(); |
|
|
|
|
|
|
|
|
|
|
|
this.$scope.appEvent('dashboard-initialized', dashboard); |
|
|
|
this.$scope.appEvent('dashboard-initialized', dashboard); |
|
|
|
|