Commit 08048b5a by Jason Song Committed by GitHub

Merge pull request #460 from lepdou/bugfix_visitedApp

bugfix: init user visited apps error when local storage stored app wh…
parents 587f67e1 273b7273
......@@ -106,7 +106,9 @@ function IndexController($scope, $window, toastr, AppUtil, AppService, UserServi
userVisitedApps.forEach(function (appId) {
var app = appIdMapApp[appId];
$scope.visitedApps.push(app);
if (app){
$scope.visitedApps.push(app);
}
});
});
}
......
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