Get also api builds when clicking on 'show more'
This commit is contained in:
parent
e170753ba8
commit
96f22bff8c
|
@ -52,6 +52,8 @@ Controller = Ember.ArrayController.extend
|
||||||
options = { repository_id: id, after_number: number }
|
options = { repository_id: id, after_number: number }
|
||||||
if type?
|
if type?
|
||||||
options.event_type = type.replace(/s$/, '') # poor man's singularize
|
options.event_type = type.replace(/s$/, '') # poor man's singularize
|
||||||
|
if options.event_type == 'push'
|
||||||
|
options.event_type = ['push', 'api']
|
||||||
|
|
||||||
@store.query('build', options)
|
@store.query('build', options)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user