1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +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() { get selectableProducts() {
let validPlans = this.plans; let validPlans = this.plans.filter((plan) => plan.type !== PlanType.Custom);
if (this.ownedBusiness) { if (this.ownedBusiness) {
validPlans = validPlans.filter((plan) => plan.canBeUsedByBusiness); validPlans = validPlans.filter((plan) => plan.canBeUsedByBusiness);