mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
skip incremental compile after server error
This commit is contained in:
parent
e2368615e2
commit
c6d2f0f4e1
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ define [
|
|||
rootDoc_id: options.rootDocOverride_id or null
|
||||
draft: $scope.draft
|
||||
check: checkType
|
||||
incrementalCompilesEnabled: window.user?.betaProgram
|
||||
# use incremental compile for beta users but revert to a full
|
||||
# compile if there is a server error
|
||||
incrementalCompilesEnabled: window.user?.betaProgram and not $scope.pdf.error
|
||||
_csrf: window.csrfToken
|
||||
}, {params: params}
|
||||
|
||||
|
|
Loading…
Reference in a new issue