Fix repo count checker when the user service has not yet loaded
Fixes #521
This commit is contained in:
parent
a47bfa201e
commit
1f90aa5b59
2 changed files with 1 additions and 5 deletions
|
@ -126,10 +126,6 @@ function(ApiService, CookieService, $rootScope, Config) {
|
|||
return userResponse;
|
||||
};
|
||||
|
||||
userService.isUserNamespace = function(namespace) {
|
||||
return namespace == userResponse.username;
|
||||
};
|
||||
|
||||
// Update the user in the root scope.
|
||||
userService.updateUserIn($rootScope);
|
||||
|
||||
|
|
Reference in a new issue