mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:05:50 +00:00
add another null check on file inside fetchLogs
This commit is contained in:
parent
9888d6631a
commit
6526b29f96
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ define [
|
|||
method:"GET"
|
||||
params:
|
||||
clsiserverid:ide.clsiServerId
|
||||
if file.url? # FIXME clean this up when we have file.urls out consistently
|
||||
if file?.url? # FIXME clean this up when we have file.urls out consistently
|
||||
opts.url = file.url
|
||||
else if file?.build?
|
||||
opts.url = "/project/#{$scope.project_id}/build/#{file.build}/output/#{name}"
|
||||
|
|
Loading…
Reference in a new issue