mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix uncompiled pdf view
This commit is contained in:
parent
48b7800c7f
commit
41a6fa1480
1 changed files with 1 additions and 3 deletions
|
@ -41,7 +41,6 @@ define [
|
|||
$scope.pdf.error = false
|
||||
$scope.pdf.timedout = false
|
||||
$scope.pdf.failure = false
|
||||
$scope.pdf.uncompiled = false
|
||||
$scope.pdf.projectTooLarge = false
|
||||
$scope.pdf.url = null
|
||||
$scope.pdf.clsiMaintenance = false
|
||||
|
@ -52,8 +51,7 @@ define [
|
|||
$scope.pdf.view = 'errors'
|
||||
$scope.pdf.timedout = true
|
||||
else if response.status == "autocompile-backoff"
|
||||
$scope.pdf.view = 'errors'
|
||||
$scope.pdf.uncompiled = true
|
||||
$scope.pdf.view = 'uncompiled'
|
||||
else if response.status == "project-too-large"
|
||||
$scope.pdf.view = 'errors'
|
||||
$scope.pdf.projectTooLarge = true
|
||||
|
|
Loading…
Reference in a new issue