add support for classNames binding in Navigation Item
This commit is contained in:
parent
e0d37c1f74
commit
76a217c4bc
|
@ -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…
Reference in New Issue