Fixed lots of loading flow issues and updated solo route page

This commit is contained in:
Torkel Ödegaard
2019-02-04 18:24:56 +01:00
parent 23ac9405c1
commit d978a66ef6
7 changed files with 137 additions and 134 deletions

View File

@@ -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;