From df35a67707ea6466731ad073719fba5d6e90a004 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Wed, 1 Jun 2022 08:48:50 -0400 Subject: [PATCH] fix typo, change recomendedCurrency to recommendedCurrency (#8245) GitOrigin-RevId: 16d40113d73de10082c3cc7fcb9bd54bbaf5a274 --- .../web/app/src/Features/Subscription/SubscriptionController.js | 1 - services/web/app/views/subscriptions/dashboard.pug | 2 +- services/web/app/views/subscriptions/new-updated.pug | 2 +- services/web/app/views/subscriptions/new.pug | 2 +- services/web/frontend/js/main/plans.js | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/services/web/app/src/Features/Subscription/SubscriptionController.js b/services/web/app/src/Features/Subscription/SubscriptionController.js index e7bbd7cb73..6bc06f5300 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionController.js +++ b/services/web/app/src/Features/Subscription/SubscriptionController.js @@ -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, diff --git a/services/web/app/views/subscriptions/dashboard.pug b/services/web/app/views/subscriptions/dashboard.pug index 4389b831da..f0ce2df476 100644 --- a/services/web/app/views/subscriptions/dashboard.pug +++ b/services/web/app/views/subscriptions/dashboard.pug @@ -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) diff --git a/services/web/app/views/subscriptions/new-updated.pug b/services/web/app/views/subscriptions/new-updated.pug index 360e75dea8..dc872e0dac 100644 --- a/services/web/app/views/subscriptions/new-updated.pug +++ b/services/web/app/views/subscriptions/new-updated.pug @@ -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") diff --git a/services/web/app/views/subscriptions/new.pug b/services/web/app/views/subscriptions/new.pug index d8fd001461..8c58d5ed66 100644 --- a/services/web/app/views/subscriptions/new.pug +++ b/services/web/app/views/subscriptions/new.pug @@ -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") diff --git a/services/web/frontend/js/main/plans.js b/services/web/frontend/js/main/plans.js index b0666734e4..4ca0958568 100644 --- a/services/web/frontend/js/main/plans.js +++ b/services/web/frontend/js/main/plans.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,