skip incremental compile after server error

This commit is contained in:
Brian Gough 2017-09-07 15:05:42 +01:00
parent e2368615e2
commit c6d2f0f4e1

View file

@ -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}