diff --git a/app/styles/app/tabs.sass b/app/styles/app/tabs.sass index 54116645..6c00f3e6 100644 --- a/app/styles/app/tabs.sass +++ b/app/styles/app/tabs.sass @@ -50,6 +50,9 @@ #tab_search:not(.active) display: none + #tab_recent.hidden + display: none + #tab_owned display: none #tab_owned.display diff --git a/app/views/repos-list-tabs.coffee b/app/views/repos-list-tabs.coffee index 9f205687..7500b450 100644 --- a/app/views/repos-list-tabs.coffee +++ b/app/views/repos-list-tabs.coffee @@ -6,7 +6,10 @@ View = Ember.View.extend currentUserBinding: 'controller.currentUser.id' classRecent: (-> - 'active' if @get('tab') == 'recent' + if @get('tab') == 'recent' + 'active' + else if @get('tab') == 'search' && @auth.get('signedIn') + 'hidden' ).property('tab') classOwned: (->