fix typo, change recomendedCurrency to recommendedCurrency (#8245)

GitOrigin-RevId: 16d40113d73de10082c3cc7fcb9bd54bbaf5a274
This commit is contained in:
M Fahru 2022-06-01 08:48:50 -04:00 committed by Copybot
parent 1ef2a74119
commit df35a67707
5 changed files with 4 additions and 5 deletions

View file

@ -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,

View file

@ -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)

View file

@ -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")

View file

@ -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")

View file

@ -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,