mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
fix typo, change recomendedCurrency to recommendedCurrency (#8245)
GitOrigin-RevId: 16d40113d73de10082c3cc7fcb9bd54bbaf5a274
This commit is contained in:
parent
1ef2a74119
commit
df35a67707
5 changed files with 4 additions and 5 deletions
|
@ -88,7 +88,6 @@ async function plansPage(req, res) {
|
|||
title: 'plans_and_pricing',
|
||||
plans,
|
||||
itm_content: req.query && req.query.itm_content,
|
||||
recomendedCurrency: recommendedCurrency,
|
||||
recommendedCurrency,
|
||||
planFeatures: newPlansPageVariantV2 ? planFeaturesV2 : planFeatures,
|
||||
groupPlans: GroupPlansData,
|
||||
|
|
|
@ -11,7 +11,7 @@ block append meta
|
|||
if (personalSubscription && personalSubscription.recurly)
|
||||
meta(name="ol-recurlyApiKey" content=settings.apis.recurly.publicKey)
|
||||
meta(name="ol-subscription" data-type="json" content=personalSubscription)
|
||||
meta(name="ol-recomendedCurrency" content=personalSubscription.recurly.currency)
|
||||
meta(name="ol-recommendedCurrency" content=personalSubscription.recurly.currency)
|
||||
meta(name="ol-groupPlans" data-type="json" content=groupPlans)
|
||||
meta(name="ol-groupPlanModalOptions" data-type="json" content=groupPlanModalOptions)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ extends ../layout
|
|||
block append meta
|
||||
meta(name="ol-countryCode" content=countryCode)
|
||||
meta(name="ol-recurlyApiKey" content=settings.apis.recurly.publicKey)
|
||||
meta(name="ol-recomendedCurrency" content=String(currency).slice(0,3))
|
||||
meta(name="ol-recommendedCurrency" content=String(currency).slice(0,3))
|
||||
|
||||
block head-scripts
|
||||
script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
|
||||
|
|
|
@ -3,7 +3,7 @@ extends ../layout
|
|||
block append meta
|
||||
meta(name="ol-countryCode" content=countryCode)
|
||||
meta(name="ol-recurlyApiKey" content=settings.apis.recurly.publicKey)
|
||||
meta(name="ol-recomendedCurrency" content=String(currency).slice(0,3))
|
||||
meta(name="ol-recommendedCurrency" content=String(currency).slice(0,3))
|
||||
|
||||
block head-scripts
|
||||
script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
import App from '../base'
|
||||
import getMeta from '../utils/meta'
|
||||
App.factory('MultiCurrencyPricing', function () {
|
||||
const currencyCode = getMeta('ol-recomendedCurrency')
|
||||
const currencyCode = getMeta('ol-recommendedCurrency')
|
||||
|
||||
return {
|
||||
currencyCode,
|
||||
|
|
Loading…
Reference in a new issue