REGRESSION: sortable columns were missing sortable class on first render

This commit is contained in:
Sam 2014-04-24 11:24:58 +10:00
parent 3ff1d63a8d
commit 2d123ef1c7

View file

@ -12,8 +12,8 @@ Discourse.SortableHeadingComponent = Ember.Component.extend({
attributeBindings: ['colspan'],
sortable: function() {
return this.get('order') && this.get('sortBy');
}.property('order', 'sortBy'),
return this.get('sortBy');
}.property('sortBy'),
iconSortClass: function() {
if (this.get('sortable') && this.get('sortBy') === this.get('order')) {