From 76a217c4bcd15cd28cea562ddf1f7485e9f36618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 8 Aug 2017 15:44:31 +0200 Subject: [PATCH] add support for classNames binding in Navigation Item --- .../javascripts/discourse/components/navigation-item.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/navigation-item.js.es6 b/app/assets/javascripts/discourse/components/navigation-item.js.es6 index 3ec22d8b8c..9ee2e38905 100644 --- a/app/assets/javascripts/discourse/components/navigation-item.js.es6 +++ b/app/assets/javascripts/discourse/components/navigation-item.js.es6 @@ -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'],