mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #7547 from overleaf/jpa-fix-split-test-anonymous-users
[web] bring back split test assignments for anonymous users GitOrigin-RevId: 4759de31e097fee1493f90a3290339e38de5b3c8
This commit is contained in:
parent
a110c4d7bd
commit
693c8e1429
1 changed files with 3 additions and 3 deletions
|
@ -195,9 +195,9 @@ async function _getAssignmentMetadata(analyticsId, user, splitTest) {
|
|||
const currentVersion = splitTest.getCurrentVersion()
|
||||
const phase = currentVersion.phase
|
||||
if (
|
||||
!user ||
|
||||
(phase === ALPHA_PHASE && !user.alphaProgram) ||
|
||||
(phase === BETA_PHASE && !user.betaProgram)
|
||||
user &&
|
||||
((phase === ALPHA_PHASE && !user.alphaProgram) ||
|
||||
(phase === BETA_PHASE && !user.betaProgram))
|
||||
) {
|
||||
return {
|
||||
activeForUser: false,
|
||||
|
|
Loading…
Reference in a new issue