Merge pull request #1407 from sharelatex/ta-team-status-free

Hide Free v1 Teams on Subscription Dashboard

GitOrigin-RevId: ba805e77eb1f994158d3ceaa42be23943fca0f1f
This commit is contained in:
Timothée Alby 2019-01-17 15:55:31 +01:00 committed by sharelatex
parent e9b18af2e1
commit 837302327e

View file

@ -1,4 +1,5 @@
- if (v1SubscriptionStatus['team'])
- if (v1SubscriptionStatus['team'] && v1SubscriptionStatus['team']['default_plan_name'] != 'free')
- hasAnySubscription = true
p
| You have a legacy group licence from Overleaf v1.
- if (v1SubscriptionStatus['team']['will_end_at'])
@ -28,6 +29,7 @@
hr
- if (v1SubscriptionStatus['product'])
- hasAnySubscription = true
p
| You have a legacy Overleaf v1
|