Don't return a promise for job in RepoActions

This commit is contained in:
Piotr Sarnacki 2015-01-28 12:33:39 +01:00
parent 32b66b9e21
commit 599e6f0bf9

View File

@ -100,7 +100,9 @@ View = Travis.View.extend
_job: (->
if id = @get('jobIdForLog')
Travis.__container__.lookup('store:main').find('job', id)
store =Travis.__container__.lookup('store:main')
store.find('job', id)
store.recordForId('job', id)
).property('jobIdForLog')
jobIdForLog: (->