Don't show repos without builds

This commit is contained in:
Piotr Sarnacki 2015-01-27 17:04:45 +01:00
parent 586d89a4f4
commit 91dd526e4b

View File

@ -13,7 +13,7 @@ Route = TravisRoute.extend
}
}).then (response) ->
response.repositories.filter( (repo) ->
repo.active
repo.active && repo.last_build && repo.last_build.id
).sortBy('last_build.finished_at').map( (repo) ->
Ember.Object.create(repo)
)