Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-10-13 12:10:01 +08:00
parent 91a296839f
commit 4f87f1886b

View File

@ -384,9 +384,10 @@ export default Em.Component.extend({
return Badge.findAll({search: term});
},
collapsedClassName: function() {
return (this.get('isExpanded')) ? "fa-caret-down" : "fa-caret-right";
}.property('isExpanded'),
@computed('isExpanded')
collapsedClassName(isExpanded) {
return isExpanded ? "fa-caret-down" : "fa-caret-right";
},
actions: {
expandOptions() {