Run Travis.Repo.find() before using recent repos
Becuase we use filter() now to get just the repos with the last build into the sidebar, it will not fetch the request automatically.
This commit is contained in:
parent
b847dbd664
commit
46643e8315
|
@ -17,6 +17,7 @@ Travis.ReposController = Ember.ArrayController.extend
|
|||
Ember.run.later(@updateTimes.bind(this), Travis.INTERVALS.updateTimes)
|
||||
|
||||
recentRepos: (->
|
||||
Travis.Repo.find()
|
||||
Travis.LimitedArray.create
|
||||
content: Em.ArrayProxy.extend(Em.SortableMixin).create(
|
||||
sortProperties: ['sortOrder']
|
||||
|
|
Loading…
Reference in New Issue
Block a user