mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 11:35:57 +00:00
fix which plan is "your plan" on dashboard
This commit is contained in:
parent
2bbdea3433
commit
58f6ae323b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ mixin printPlan(plan)
|
|||
td
|
||||
-if (subscription.state == "free-trial")
|
||||
a(href="/user/subscription/new?planCode=#{plan.planCode}").btn.btn-success #{translate("subscribe_to_this_plan")}
|
||||
-else if (plan.planCode == subscription.planCode)
|
||||
-else if (typeof(subscription.planCode) != "undefined" && plan.planCode == subscription.planCode.split("_")[0])
|
||||
button.btn.disabled #{translate("your_plan")}
|
||||
-else
|
||||
form
|
||||
|
|
Loading…
Reference in a new issue