1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

Filter out custom plans from consideration on org create (#631)

This commit is contained in:
Addison Beck
2020-09-02 15:53:45 -04:00
committed by GitHub
parent 1b466609f0
commit 76354741be

View File

@@ -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);