mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
is owner get prop
This commit is contained in:
@@ -50,4 +50,8 @@ export class Organization {
|
||||
get isAdmin() {
|
||||
return this.type === OrganizationUserType.Owner || this.type === OrganizationUserType.Admin;
|
||||
}
|
||||
|
||||
get isOwner() {
|
||||
return this.type === OrganizationUserType.Owner;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user