possible regression fix

This commit is contained in:
Sam 2014-12-29 16:32:31 +11:00
parent a6fbf7d86b
commit b48f04e772
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default Ember.Component.extend(StringBuffer, {
className += options.order || ""; className += options.order || "";
var sortIcon = ""; var sortIcon = "";
if(this.get("order") === options.order){ if(this.get("order") === options.order && options.sortable){
className += " sorting"; className += " sorting";
sortIcon = " <i class='fa fa-chevron-" + (this.get('ascending') ? 'up' : 'down') + "'></i>"; sortIcon = " <i class='fa fa-chevron-" + (this.get('ascending') ? 'up' : 'down') + "'></i>";
} }