From 2ded5228cb719a66ac8093bc14ae286381056160 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 17 Apr 2019 11:06:21 -0400 Subject: [PATCH] change plan is only for free subs --- jslib | 2 +- .../settings/organization-subscription.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 39c1384a98d..7b0bc41f887 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 39c1384a98d02519bccd3185ec0384b73668bca8 +Subproject commit 7b0bc41f8872562cb921f5304438c2675895aacf diff --git a/src/app/organizations/settings/organization-subscription.component.ts b/src/app/organizations/settings/organization-subscription.component.ts index 1467caf2481..84ab9974830 100644 --- a/src/app/organizations/settings/organization-subscription.component.ts +++ b/src/app/organizations/settings/organization-subscription.component.ts @@ -103,7 +103,7 @@ export class OrganizationSubscriptionComponent implements OnInit { } async changePlan() { - if (this.subscription == null) { + if (this.subscription == null && this.sub.planType === PlanType.Free) { this.showChangePlan = !this.showChangePlan; return; }