mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[PM-11631] - hide free Bitwarden Families button if user is not eligible (#10971)
* hide Free Bitwarden Families button if user is not eligible * use organizationService.canManageSponsorships$ for determining if free bitwarden families is available * update comment
This commit is contained in:
@@ -113,6 +113,9 @@ export abstract class OrganizationService {
|
||||
* https://bitwarden.atlassian.net/browse/AC-2252.
|
||||
*/
|
||||
getFromState: (id: string) => Promise<Organization>;
|
||||
/**
|
||||
* Emits true if the user can create or manage a Free Bitwarden Families sponsorship.
|
||||
*/
|
||||
canManageSponsorships$: Observable<boolean>;
|
||||
hasOrganizations: () => Promise<boolean>;
|
||||
get$: (id: string) => Observable<Organization | undefined>;
|
||||
|
||||
Reference in New Issue
Block a user