Skip to content

Commit

Permalink
rename fontawesome sort icon
Browse files Browse the repository at this point in the history
this PR is to fix sort icon for fontawesome v5

related issue jhipster#7516
  • Loading branch information
maznag committed Apr 26, 2018
1 parent fcac1ba commit d944e98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/directive/sort-by.directive.ts
Expand Up @@ -27,8 +27,8 @@ export class JhiSortByDirective implements AfterViewInit {

@Input() jhiSortBy: string;

sortAscIcon = 'fa-sort-asc';
sortDescIcon = 'fa-sort-desc';
sortAscIcon = 'fa-sort-up';
sortDescIcon = 'fa-sort-down';

jhiSort: JhiSortDirective;

Expand Down
4 changes: 2 additions & 2 deletions src/directive/sort.directive.ts
Expand Up @@ -28,8 +28,8 @@ export class JhiSortDirective {
@Input() callback: Function;

sortIcon = 'fa-sort';
sortAscIcon = 'fa-sort-asc';
sortDescIcon = 'fa-sort-desc';
sortAscIcon = 'fa-sort-up';
sortDescIcon = 'fa-sort-down';
sortIconSelector = 'span.fa';

@Output() predicateChange: EventEmitter<any> = new EventEmitter();
Expand Down

0 comments on commit d944e98

Please sign in to comment.