mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #29771 from overleaf/dp-beta
Give beta users back access to the editor redesign GitOrigin-RevId: 11c3044c85cdfbd4bb3745cd0c575a8bc5af4ec2
This commit is contained in:
@@ -42,7 +42,12 @@ export const isSplitTestUser = () => {
|
||||
}
|
||||
|
||||
export const canUseNewEditorAsExistingUser = () => {
|
||||
return !canUseNewEditorAsNewUser() && isSplitTestEnabled('editor-redesign')
|
||||
const isBetaUser = getMeta('ol-user').betaProgram
|
||||
|
||||
return (
|
||||
!canUseNewEditorAsNewUser() &&
|
||||
(isSplitTestEnabled('editor-redesign') || isBetaUser)
|
||||
)
|
||||
}
|
||||
|
||||
export const canUseNewEditorAsNewUser = () => {
|
||||
|
||||
Reference in New Issue
Block a user