remove obsolete column.to_json

This commit is contained in:
simon lehericey 2024-11-06 22:10:11 +01:00
parent 17531b73b7
commit 8599dd829a
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -30,12 +30,6 @@ class Column
def ==(other) = h_id == other.h_id # using h_id instead of id to avoid inversion of keys
def to_json
{
table:, column:, label:, type:, filterable:, displayable:
}
end
def notifications? = [table, column] == ['notifications', 'notifications']
def dossier_state? = [table, column] == ['self', 'state']
def groupe_instructeur? = [table, column] == ['groupe_instructeur', 'id']