Merge pull request #19942 from overleaf/mf-group-dropdown-connect-button-cta

[web] Connect license dropdown to CTA href and pricing header on new plans page group tab

GitOrigin-RevId: b3bdd05cc3efccc17883205de51232e31ee71c58
This commit is contained in:
M Fahru
2024-08-16 08:04:53 +00:00
committed by Copybot
parent 5f85e13033
commit 9cf4cd36cf
3 changed files with 18 additions and 8 deletions
@@ -167,7 +167,16 @@ async function plansPageLightDesign(req, res) {
const currentView = 'annual'
const plans = SubscriptionViewModelBuilder.buildPlansList()
const groupPlanModalDefaults = _getGroupPlanModalDefaults(req, currency)
const formatCurrency = SubscriptionHelper.formatCurrencyDefault
const localCcyAssignment = await SplitTestHandler.promises.getAssignment(
req,
res,
'local-ccy-format-v2'
)
const formatCurrency =
localCcyAssignment.variant === 'enabled'
? formatCurrencyLocalized
: SubscriptionHelper.formatCurrencyDefault
const { showLATAMBanner, showInrGeoBanner, showBrlGeoBanner } = _plansBanners(
{