is owner get prop

This commit is contained in:
Kyle Spearrin 2018-07-17 15:56:49 -04:00
parent 1cb3447bdd
commit 3354f0b818
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}