Skip to content

Commit

Permalink
Update version-2/views.diff
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 41832ef commit a9190ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version-2/views.diff
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ index f54d21c..340aea6 100644
+ :td,
+ datagrid_value(grid, column, asset),
+ class: {
+ # Adding html clases based on condition
+ # Adding HTML classes based on condition
+ # Consider maintaining consistency with datagrid/head 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 a9190ad

Please sign in to comment.