mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
only set compileExited on compile errors
This commit is contained in:
parent
74bc157e7c
commit
7f20415048
1 changed files with 1 additions and 1 deletions
|
@ -118,6 +118,7 @@ define [
|
|||
$scope.pdf.renderingError = false
|
||||
$scope.pdf.projectTooLarge = false
|
||||
$scope.pdf.compileTerminated = false
|
||||
$scope.pdf.compileExited = false
|
||||
|
||||
# make a cache to look up files by name
|
||||
fileByPath = {}
|
||||
|
@ -144,7 +145,6 @@ define [
|
|||
fetchLogs(fileByPath)
|
||||
else if response.status in ["validation-fail", "validation-pass"]
|
||||
$scope.pdf.view = 'pdf'
|
||||
$scope.pdf.compileExited = true
|
||||
$scope.pdf.url = last_pdf_url
|
||||
$scope.shouldShowLogs = true
|
||||
fetchLogs(fileByPath, { validation: true })
|
||||
|
|
Loading…
Reference in a new issue