is owner get prop
This commit is contained in:
parent
1cb3447bdd
commit
3354f0b818
|
@ -50,4 +50,8 @@ export class Organization {
|
||||||
get isAdmin() {
|
get isAdmin() {
|
||||||
return this.type === OrganizationUserType.Owner || this.type === OrganizationUserType.Admin;
|
return this.type === OrganizationUserType.Owner || this.type === OrganizationUserType.Admin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get isOwner() {
|
||||||
|
return this.type === OrganizationUserType.Owner;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue