Merge pull request #12187 from overleaf/jpa-mf-old-plans-page-annual-variant
Differentiate user that visits from before the fix and after the fix GitOrigin-RevId: 4c3c4b47dc3329b97da79adcb2a45bf95b0ff27a
This commit is contained in:
@@ -64,6 +64,12 @@ async function plansPage(req, res) {
|
||||
res,
|
||||
'plans-page-layout-v3'
|
||||
)
|
||||
|
||||
if (plansPageLayoutV3Assignment.variant === 'old-plans-page-annual') {
|
||||
plansPageLayoutV3Assignment.variant = 'old-plans-page-annual-fixed'
|
||||
res.locals.splitTestVariants['plans-page-layout-v3'] =
|
||||
'old-plans-page-annual-fixed'
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
{ err: error },
|
||||
@@ -73,7 +79,7 @@ async function plansPage(req, res) {
|
||||
|
||||
let currentView = 'monthly'
|
||||
if (
|
||||
plansPageLayoutV3Assignment.variant === 'old-plans-page-annual' ||
|
||||
plansPageLayoutV3Assignment.variant === 'old-plans-page-annual-fixed' ||
|
||||
plansPageLayoutV3Assignment.variant === 'new-plans-page'
|
||||
) {
|
||||
currentView = 'annual'
|
||||
|
||||
Reference in New Issue
Block a user