Skip to content

Commit

Permalink
Update app/views/datagrid/_head.html.erb
Browse files Browse the repository at this point in the history
Co-authored-by: Bohdan Zhuravel <[email protected]>
  • Loading branch information
bogdan and zhuravel authored Nov 15, 2024
1 parent 6981dc5 commit c2b5543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/datagrid/_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= content_tag(
:th,
class: {
# Adding html clases based on condition
# Adding HTML classes based on condition
# Consider maintaining consistency with datagrid/rows partial
"datagrid-order-active-asc": grid.ordered_by?(column, false),
"datagrid-order-active-desc": grid.ordered_by?(column ,true),
Expand Down

0 comments on commit c2b5543

Please sign in to comment.