Skip to content

Commit

Permalink
refactor: switch to more neutral sort column icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Jakobi committed Jun 14, 2024
1 parent 0fc6806 commit c9b9e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class DataListGridSortingComponent implements OnInit {
case DataSortDirection.DESCENDING:
return 'pi-sort-amount-down'
default:
return 'pi-sort-alt-slash'
return 'pi-sort-alt'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<button
*ngIf="column.sortable"
class="pi sortButton"
[class.pi-sort-alt-slash]="(column?.id === sortColumn && sortDirection === 'NONE') || column?.id !== sortColumn"
[class.pi-sort-alt]="(column?.id === sortColumn && sortDirection === 'NONE') || column?.id !== sortColumn"
[class.pi-sort-amount-up]="column?.id === sortColumn && sortDirection === 'ASCENDING'"
[class.pi-sort-amount-down]="column?.id === sortColumn && sortDirection === 'DESCENDING'"
(click)="onSortColumnClick(column.id)"
Expand Down

0 comments on commit c9b9e8c

Please sign in to comment.