mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-02 21:00:36 -05:00
FIX: Subcategories should show pills
This commit is contained in:
parent
c9cb5a5b79
commit
416e461417
3 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 });
|
||||
}
|
||||
});
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
noSubcategories=noSubcategories
|
||||
hideSubcategories=showingSubcategoryList}}
|
||||
|
||||
|
||||
{{navigation-bar navItems=navItems filterMode=filterMode}}
|
||||
|
||||
{{#if currentUser}}
|
||||
|
|
Loading…
Reference in a new issue