mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:30:01 +08:00
REGRESSION: sortable columns were missing sortable class on first render
This commit is contained in:
parent
3ff1d63a8d
commit
2d123ef1c7
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user