mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
14 lines
478 B
JavaScript
14 lines
478 B
JavaScript
angular
|
|
.module('bit.organization')
|
|
|
|
.controller('organizationDashboardController', function ($scope, authService, $state) {
|
|
$scope.$on('$viewContentLoaded', function () {
|
|
authService.getUserProfile().then(function (userProfile) {
|
|
if (!userProfile.organizations) {
|
|
return;
|
|
}
|
|
$scope.orgProfile = userProfile.organizations[$state.params.orgId];
|
|
});
|
|
});
|
|
});
|