Commit 273b7273 by lepdou

bugfix: init user visited apps error when local storage stored app which not existed

parent 2b4f4f48
......@@ -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