Fix the log view for finished logs

This commit is contained in:
Piotr Sarnacki 2013-03-22 10:13:26 +01:00
parent f1adbf8f20
commit 74f4a7b110

View File

@ -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')