mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added null check on subscription for group plans
This commit is contained in:
parent
22f5c5dcb9
commit
b9dd2d826e
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ module.exports = SubscriptionController =
|
|||
plans = SubscriptionViewModelBuilder.buildViewModel()
|
||||
res.render "subscriptions/dashboard",
|
||||
title: "your_subscription"
|
||||
recomendedCurrency: subscription.currency
|
||||
recomendedCurrency: subscription?.currency
|
||||
plans: plans
|
||||
subscription: subscription
|
||||
groups: groups
|
||||
|
|
Loading…
Reference in a new issue