mirror of
https://github.com/bitwarden/web
synced 2025-12-11 22:03:21 +00:00
do api calls on viewContentLoaded
This commit is contained in:
@@ -6,11 +6,12 @@ angular
|
||||
vm.bodyClass = '';
|
||||
vm.searchVaultText = null;
|
||||
vm.version = appSettings.version;
|
||||
vm.userProfile = authService.getUserProfile();
|
||||
|
||||
$scope.currentYear = new Date().getFullYear();
|
||||
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
vm.userProfile = authService.getUserProfile();
|
||||
|
||||
if ($.AdminLTE) {
|
||||
if ($.AdminLTE.layout) {
|
||||
$.AdminLTE.layout.fix();
|
||||
|
||||
Reference in New Issue
Block a user