Fix to dashboard loading and error handling

pull/1442/head
Torkel Ödegaard 10 years ago
parent 4572747bd6
commit 7e26d7a4bf
  1. 3
      src/app/routes/backend/dashboard.js

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

Loading…
Cancel
Save