Explorar o código

Fix to dashboard loading and error handling

Torkel Ödegaard %!s(int64=11) %!d(string=hai) anos
pai
achega
7e26d7a4bf
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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);
       });