mirror of
https://github.com/bitwarden/web
synced 2025-12-11 05:43:16 +00:00
org owner check on side nav menu
This commit is contained in:
@@ -38,4 +38,8 @@ angular
|
||||
|
||||
$state.go('backend.org.dashboard', { orgId: org.id });
|
||||
};
|
||||
|
||||
$scope.isOrgOwner = function (org) {
|
||||
return org.type === 0;
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user