mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:05:18 -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 currentVersion = splitTest.getCurrentVersion()
|
||||||
const phase = currentVersion.phase
|
const phase = currentVersion.phase
|
||||||
if (
|
if (
|
||||||
!user ||
|
user &&
|
||||||
(phase === ALPHA_PHASE && !user.alphaProgram) ||
|
((phase === ALPHA_PHASE && !user.alphaProgram) ||
|
||||||
(phase === BETA_PHASE && !user.betaProgram)
|
(phase === BETA_PHASE && !user.betaProgram))
|
||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
activeForUser: false,
|
activeForUser: false,
|
||||||
|
|
Loading…
Reference in a new issue