Add default sort to table

This commit is contained in:
Matthew Dillon 2015-06-09 14:28:56 -08:00
parent 15b31f7c8a
commit c8ffc95068
7 changed files with 25 additions and 3 deletions

View file

@ -3,6 +3,7 @@ import Ember from 'ember';
export default Ember.Component.extend(Ember.SortableMixin, {
tagName: 'table',
classNames: ['flakes-table'],
sortProperties: [],
actions: {
sortBy: function(property, ascending) {