mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Simplify logic for showing autocompile onboarding
This commit is contained in:
parent
3e2388a7de
commit
8cd1f8c7ac
1 changed files with 2 additions and 3 deletions
|
@ -74,12 +74,11 @@ define [
|
|||
pdfLayout: 'sideBySide'
|
||||
pdfHidden: false,
|
||||
pdfWidth: 0,
|
||||
reviewPanelOpen: localStorage("ui.reviewPanelOpen.#{window.project_id}")
|
||||
reviewPanelOpen: localStorage("ui.reviewPanelOpen.#{window.project_id}"),
|
||||
miniReviewPanelVisible: false,
|
||||
showAutoCompileOnboarding: window.user.betaProgram and window.showAutoCompileOnboarding
|
||||
}
|
||||
$scope.onboarding = {
|
||||
autoCompile: 'unseen'
|
||||
autoCompile: if window.user.betaProgram and window.showAutoCompileOnboarding then 'unseen' else 'dismissed'
|
||||
}
|
||||
$scope.user = window.user
|
||||
|
||||
|
|
Loading…
Reference in a new issue