Don't return a promise for job in RepoActions
This commit is contained in:
parent
32b66b9e21
commit
599e6f0bf9
|
@ -100,7 +100,9 @@ View = Travis.View.extend
|
||||||
|
|
||||||
_job: (->
|
_job: (->
|
||||||
if id = @get('jobIdForLog')
|
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')
|
).property('jobIdForLog')
|
||||||
|
|
||||||
jobIdForLog: (->
|
jobIdForLog: (->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user