tech(clean): remove Column classname: attribute
Co-authored-by: mfo <mfo@users.noreply.github.com>
This commit is contained in:
parent
30fcb75da4
commit
3677f3b2d3
6 changed files with 50 additions and 45 deletions
|
@ -9,6 +9,12 @@ class Instructeurs::ColumnTableHeaderComponent < ApplicationComponent
|
|||
|
||||
private
|
||||
|
||||
def classname(column)
|
||||
return 'status-col' if column.dossier_state?
|
||||
return 'number-col' if column.type == :number
|
||||
return 'sva-col' if column.column == 'sva_svr_decision_on'
|
||||
end
|
||||
|
||||
def update_sort_path(column)
|
||||
id = column.id
|
||||
order = opposite_order_for(column)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue