Load commit data also from job:created
This commit is contained in:
parent
bc53d98b2a
commit
8a51ebcbcf
|
@ -70,6 +70,9 @@ unless window.TravisApplication
|
||||||
|
|
||||||
type = Ember.get(Travis, 'mappings')[name]
|
type = Ember.get(Travis, 'mappings')[name]
|
||||||
|
|
||||||
|
if name == 'job' && data.job?.commit
|
||||||
|
@loadOrMerge(Travis.Commit, data.job.commit)
|
||||||
|
|
||||||
if name == 'build' && data.build?.commit
|
if name == 'build' && data.build?.commit
|
||||||
# TODO: commit should be a sideload record on build, not mixed with it
|
# TODO: commit should be a sideload record on build, not mixed with it
|
||||||
build = data.build
|
build = data.build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user