mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-06 00:48:08 +02: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() {
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user