1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 02:23:44 +00:00

remove gravatar for letter avatars #4

This commit is contained in:
Kyle Spearrin
2017-04-05 17:59:48 -04:00
parent acc214d7c1
commit ea5dc4b7fc
11 changed files with 27 additions and 25 deletions

View File

@@ -5,8 +5,12 @@ angular
$scope.$state = $state;
$scope.params = $state.params;
$scope.orgs = [];
$scope.name = '';
authService.getUserProfile().then(function (userProfile) {
$scope.name = userProfile.extended && userProfile.extended.name ?
userProfile.extended.name : userProfile.email;
if (!userProfile.organizations) {
return;
}