mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Migrate OrganizationService to StateProvider (#7895)
This commit is contained in:
@@ -320,6 +320,10 @@ export class Organization {
|
||||
return !this.useTotp;
|
||||
}
|
||||
|
||||
get canManageSponsorships() {
|
||||
return this.familySponsorshipAvailable || this.familySponsorshipFriendlyName !== null;
|
||||
}
|
||||
|
||||
static fromJSON(json: Jsonify<Organization>) {
|
||||
if (json == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user