mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
[AC-1806] Hide Teams Starter for MSP creating client org (#6835)
* Hide Teams Starter plan for provider creating new client org * QA: Disallow addition of existing Teams Starter orgs
This commit is contained in:
parent
ade9e9adfe
commit
356e3fc7fc
@ -236,7 +236,8 @@ export class OrganizationPlansComponent implements OnInit, OnDestroy {
|
||||
plan.product === ProductType.TeamsStarter) &&
|
||||
(this.currentProductType !== ProductType.TeamsStarter ||
|
||||
plan.product === ProductType.Teams ||
|
||||
plan.product === ProductType.Enterprise)
|
||||
plan.product === ProductType.Enterprise) &&
|
||||
(!this.providerId || plan.product !== ProductType.TeamsStarter)
|
||||
);
|
||||
|
||||
result.sort((planA, planB) => planA.displaySortOrder - planB.displaySortOrder);
|
||||
|
@ -27,6 +27,7 @@ const DisallowedPlanTypes = [
|
||||
PlanType.Free,
|
||||
PlanType.FamiliesAnnually2019,
|
||||
PlanType.FamiliesAnnually,
|
||||
PlanType.TeamsStarter,
|
||||
];
|
||||
|
||||
@Component({
|
||||
|
Loading…
Reference in New Issue
Block a user