Skip to content

Commit

Permalink
Merge pull request #280 from bastianjakobi/refactor/improve-sort-icons
Browse files Browse the repository at this point in the history
refactor: switch to more neutral sort column icon
  • Loading branch information
HenryT-CG authored Jun 15, 2024
2 parents 0fc6806 + c9b9e8c commit 85951d9
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 85951d9

Please sign in to comment.