mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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
|
rootDoc_id: options.rootDocOverride_id or null
|
||||||
draft: $scope.draft
|
draft: $scope.draft
|
||||||
check: checkType
|
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
|
_csrf: window.csrfToken
|
||||||
}, {params: params}
|
}, {params: params}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue