Commit 7e26d7a4 by Torkel Ödegaard

Fix to dashboard loading and error handling

parent 4572747b
......@@ -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);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment