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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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