mirror of
https://github.com/bitwarden/browser
synced 2025-01-16 20:33:55 +01:00
If user can't view subscription, don't show upgrade modal (#12248)
This commit is contained in:
parent
45db17627e
commit
0bc63517bd
@ -487,6 +487,11 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
|
||||
this.organization.productTierType === ProductTierType.TeamsStarter ||
|
||||
this.organization.productTierType === ProductTierType.Families)
|
||||
) {
|
||||
if (!this.organization.canEditSubscription) {
|
||||
await this.showSeatLimitReachedDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
const reference = openChangePlanDialog(this.dialogService, {
|
||||
data: {
|
||||
organizationId: this.organization.id,
|
||||
|
Loading…
Reference in New Issue
Block a user