Skip to content

Commit

Permalink
Update sorting to remove unsorted choice
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnotme01 authored Mar 15, 2018
1 parent e794616 commit c0c79fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/ng-table-sorting.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class NgTableSortingDirective {
this.column.sort = 'desc';
break;
case 'desc':
this.column.sort = '';
this.column.sort = 'asc';
break;
default:
this.column.sort = 'asc';
Expand Down

0 comments on commit c0c79fc

Please sign in to comment.