mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
add support for classNames binding in Navigation Item
This commit is contained in:
parent
e0d37c1f74
commit
76a217c4bc
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { bufferedRender } from 'discourse-common/lib/buffered-render';
|
|||
|
||||
export default Ember.Component.extend(bufferedRender({
|
||||
tagName: 'li',
|
||||
classNameBindings: ['active', 'content.hasIcon:has-icon'],
|
||||
classNameBindings: ['active', 'content.hasIcon:has-icon', 'content.classNames'],
|
||||
attributeBindings: ['content.title:title'],
|
||||
hidden: Em.computed.not('content.visible'),
|
||||
rerenderTriggers: ['content.count'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue