1
0
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:
Kyle Spearrin
2017-03-25 10:43:19 -04:00
parent 2154607d11
commit 19203e976b
8 changed files with 162 additions and 145 deletions

View File

@@ -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) {