mirror of
https://github.com/bitwarden/web
synced 2025-12-10 13:23:15 +00:00
convert auth service profile methods to promises
This commit is contained in:
@@ -10,7 +10,9 @@ angular
|
||||
$scope.currentYear = new Date().getFullYear();
|
||||
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
vm.userProfile = authService.getUserProfile();
|
||||
authService.getUserProfile().then(function (profile) {
|
||||
vm.userProfile = profile;
|
||||
});
|
||||
|
||||
if ($.AdminLTE) {
|
||||
if ($.AdminLTE.layout) {
|
||||
|
||||
Reference in New Issue
Block a user