mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Check if user is part of autocompile rollout when showing setting or running autocompile
This commit is contained in:
parent
8366ea271f
commit
550e7d75ca
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
span.caret
|
||||
ul.dropdown-menu.dropdown-menu-left
|
||||
// Only show on beta program?
|
||||
if user.betaProgram
|
||||
if user.betaProgram || showAutoCompileOnboarding
|
||||
li.dropdown-header
|
||||
| #{translate("auto_compile")}
|
||||
span.beta-feature-badge
|
||||
|
|
|
@ -109,7 +109,7 @@ define [
|
|||
toggleAutoCompile(newValue)
|
||||
event_tracking.sendMB "autocompile-setting-changed", { value: newValue }
|
||||
|
||||
if window.user?.betaProgram and $scope.autocompile_enabled
|
||||
if (window.user?.betaProgram or window.showAutoCompileOnboarding) and $scope.autocompile_enabled
|
||||
toggleAutoCompile(true)
|
||||
|
||||
# abort compile if syntax checks fail
|
||||
|
|
Loading…
Reference in a new issue