mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #5223 from overleaf/jpa-fix-annual-plan-codes
[web] de-ng plans page: fix plan codes for annual plans GitOrigin-RevId: f8d94e8c495d9917267adf73e4d75bbd4f5264b2
This commit is contained in:
parent
4c04448d1c
commit
5900dc3b4a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ function updateLinkTargets() {
|
||||||
|
|
||||||
const plan = el.getAttribute('data-ol-start-new-subscription')
|
const plan = el.getAttribute('data-ol-start-new-subscription')
|
||||||
const view = el.getAttribute('data-ol-item-view') || currentView
|
const view = el.getAttribute('data-ol-item-view') || currentView
|
||||||
const suffix = view === 'annual' ? `_annual` : `_free_trial_7_days`
|
const suffix = view === 'annual' ? `-annual` : `_free_trial_7_days`
|
||||||
const planCode = `${plan}${suffix}`
|
const planCode = `${plan}${suffix}`
|
||||||
|
|
||||||
const location = el.getAttribute('data-ol-location')
|
const location = el.getAttribute('data-ol-location')
|
||||||
|
|
Loading…
Reference in a new issue