Fix to dashboard loading and error handling

This commit is contained in:
Torkel Ödegaard
2015-01-28 09:58:24 +01:00
parent 4572747bd6
commit 7e26d7a4bf
+1 -2
View File
@@ -45,8 +45,7 @@ function (angular, store) {
.then(function(dashboard) {
prevDashPath = $location.path();
$scope.initDashboard(dashboard, $scope);
}).then(null, function(err) {
$scope.appEvent('alert-error', ['Load dashboard failed', err]);
}).then(null, function() {
$scope.initDashboard({}, $scope);
});