mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 13:51:11 +00:00
null check response.outputFiles
This commit is contained in:
parent
4f11974c85
commit
9a7f73ed89
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ define [
|
|||
|
||||
IGNORE_FILES = ["output.fls", "output.fdb_latexmk"]
|
||||
$scope.pdf.outputFiles = []
|
||||
|
||||
if !response.outputFiles?
|
||||
return
|
||||
for file in response.outputFiles
|
||||
if IGNORE_FILES.indexOf(file.path) == -1
|
||||
# Turn 'output.blg' into 'blg file'.
|
||||
|
|
Loading…
Reference in a new issue