mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed lots of loading flow issues and updated solo route page
This commit is contained in:
@@ -45,12 +45,6 @@ export class GrafanaCtrl {
|
||||
};
|
||||
|
||||
$rootScope.colors = colors;
|
||||
|
||||
$scope.initDashboard = (dashboardData, viewScope) => {
|
||||
$scope.appEvent('dashboard-fetch-end', dashboardData);
|
||||
$controller('DashboardCtrl', { $scope: viewScope }).init(dashboardData);
|
||||
};
|
||||
|
||||
$rootScope.onAppEvent = function(name, callback, localScope) {
|
||||
const unbind = $rootScope.$on(name, callback);
|
||||
let callerScope = this;
|
||||
|
||||
Reference in New Issue
Block a user