mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 22:57:48 +02:00
fix(users): first sign in, level show error
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
vm.authentication = Authentication;
|
||||
vm.isCollapsed = false;
|
||||
vm.menu = menuService.getMenu('topbar');
|
||||
vm.scoreLevelData = ScoreLevelService.getScoreLevelJson(vm.user.score);
|
||||
vm.scoreLevelData = vm.user ? ScoreLevelService.getScoreLevelJson(vm.user.score) : undefined;
|
||||
|
||||
$scope.$on('$stateChangeSuccess', stateChangeSuccess);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user