1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-22 15:08:11 +00:00

Enable new PDF preview for alpha users ()

GitOrigin-RevId: 19b1d8045ddff525fbd738526bc02b64f38c3726
This commit is contained in:
Alf Eaton 2021-10-12 09:49:28 +01:00 committed by Copybot
parent 4274782443
commit 1d9615b672

View file

@ -872,7 +872,10 @@ const ProjectController = {
'new_navigation_ui',
true
),
showNewPdfPreview: shouldDisplayFeature('new_pdf_preview', false),
showNewPdfPreview: shouldDisplayFeature(
'new_pdf_preview',
user.alphaProgram
),
showSymbolPalette: shouldDisplayFeature(
'symbol_palette',
user.alphaProgram || user.betaProgram