From 1e6a3aeaf422cb8bbf52670f11da90eccad6fd03 Mon Sep 17 00:00:00 2001 From: June Kelly Date: Fri, 24 Sep 2021 10:22:28 +0100 Subject: [PATCH] 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 --- services/web/frontend/js/pages/user/subscription/plans.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/pages/user/subscription/plans.js b/services/web/frontend/js/pages/user/subscription/plans.js index 2c24cddf84..0236b7e17e 100644 --- a/services/web/frontend/js/pages/user/subscription/plans.js +++ b/services/web/frontend/js/pages/user/subscription/plans.js @@ -60,7 +60,7 @@ function updateLinkTargets() { const plan = el.getAttribute('data-ol-start-new-subscription') 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 location = el.getAttribute('data-ol-location')