FIX: Subcategories should show pills

This commit is contained in:
Robin Ward 2016-02-26 15:18:52 -05:00
parent c9cb5a5b79
commit 416e461417
3 changed files with 1 additions and 3 deletions

View file

@ -35,7 +35,7 @@ export default Ember.Component.extend({
});
}.property('firstCategory', 'hideSubcategories'),
render: function(buffer) {
render(buffer) {
if (this.get('hidden')) { return; }
this._super(buffer);
}

View file

@ -9,7 +9,6 @@ export default NavigationDefaultController.extend({
@computed("showingSubcategoryList", "category", "noSubcategories")
navItems(showingSubcategoryList, category, noSubcategories) {
if (showingSubcategoryList) { return []; }
return Discourse.NavItem.buildList(category, { noSubcategories });
}
});

View file

@ -3,7 +3,6 @@
noSubcategories=noSubcategories
hideSubcategories=showingSubcategoryList}}
{{navigation-bar navItems=navItems filterMode=filterMode}}
{{#if currentUser}}