mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Filter out custom plans from consideration on org create (#631)
This commit is contained in:
parent
1b466609f0
commit
76354741be
@ -89,7 +89,7 @@ export class OrganizationPlansComponent implements OnInit {
|
||||
}
|
||||
|
||||
get selectableProducts() {
|
||||
let validPlans = this.plans;
|
||||
let validPlans = this.plans.filter((plan) => plan.type !== PlanType.Custom);
|
||||
|
||||
if (this.ownedBusiness) {
|
||||
validPlans = validPlans.filter((plan) => plan.canBeUsedByBusiness);
|
||||
|
Loading…
Reference in New Issue
Block a user