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