Просмотр исходного кода

Fix to dashboard loading and error handling

Torkel Ödegaard 11 лет назад
Родитель
Сommit
7e26d7a4bf
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/app/routes/backend/dashboard.js

+ 1 - 2
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);
       });