Fix the log view for finished logs
This commit is contained in:
parent
f1adbf8f20
commit
74f4a7b110
|
@ -165,9 +165,9 @@ Travis.reopen
|
|||
|
||||
didInsertElement: ->
|
||||
job = @get('job')
|
||||
if job && !job.get('isFinished')
|
||||
if job
|
||||
job.get('log').fetch()
|
||||
job.subscribe()
|
||||
job.subscribe() if !job.get('isFinished')
|
||||
|
||||
willDestroyElement: ->
|
||||
job = @get('job')
|
||||
|
|
Loading…
Reference in New Issue
Block a user