mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
Merge pull request #21971 from overleaf/td-ds-nav-split-test
Add split test for DS unified nav GitOrigin-RevId: d649661568f9c1de9d2fe47f4491540e80830ab3
This commit is contained in:
@@ -443,6 +443,15 @@ async function projectListPage(req, res, next) {
|
||||
)
|
||||
}
|
||||
|
||||
// Get the user's assignment for the DS unified nav split test, which
|
||||
// populates splitTestVariants with a value for the split test name and allows
|
||||
// Pug to send it to the browser
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'sidebar-navigation-ui-update'
|
||||
)
|
||||
|
||||
res.render('project/list-react', {
|
||||
title: 'your_projects',
|
||||
usersBestSubscription,
|
||||
|
||||
Reference in New Issue
Block a user