diff --git a/app/controllers/branches.coffee b/app/controllers/branches.coffee index ea1df125..2391ddb3 100644 --- a/app/controllers/branches.coffee +++ b/app/controllers/branches.coffee @@ -6,14 +6,15 @@ BranchesController = Ember.Controller.extend defaultBranch: (-> repos = @get('model') - console.log(repos[0]) - repos[0] + output = repos.filter (item, index) -> + item if item.repository.default_branch.name == undefined + output[0] ).property('model') activeBranches: (-> repos = @get('model') repos = repos.filter (item, index) -> - item if item.exists_on_github == true + item if item.exists_on_github == true && item.repository.default_branch.name != undefined .sort (a, b) -> # if a.last_build && b.last_build diff --git a/app/styles/app/components/build-tile.sass b/app/styles/app/components/build-tile.sass index 5b804394..34ae9388 100644 --- a/app/styles/app/components/build-tile.sass +++ b/app/styles/app/components/build-tile.sass @@ -36,8 +36,8 @@ right: 0 bottom: 0 left: 0 - width: 2rem !important - height: 2rem !important + width: 2.5rem !important + height: 2.5rem !important margin: auto !important background-color: transparent .is-rotating @@ -47,6 +47,7 @@ .circle width: 8px height: 8px + border-width: 2px a display: block height: 100% diff --git a/app/styles/app/layouts/branches.sass b/app/styles/app/layouts/branches.sass index 3237fc50..a5c02509 100644 --- a/app/styles/app/layouts/branches.sass +++ b/app/styles/app/layouts/branches.sass @@ -180,6 +180,8 @@ .dropup--status @extend %dropup display: none + &:after + bottom: -5px @media #{$medium-up} top: -3em padding: .2em .3em @@ -208,7 +210,7 @@ vertical-align: middle width: 5px height: 5px - border: solid 2px #e5db29 + border: solid 1px #e5db29 border-radius: 50% transform-origin: center center