breaking: simplify linked_drop_down_column column_id

This commit is contained in:
simon lehericey 2024-11-04 08:26:57 +01:00
parent 0b2bc68d48
commit 52aaff5ffc
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -23,13 +23,7 @@ class Columns::LinkedDropDownColumn < Columns::ChampColumn
private
def column_id
if path == :value
"type_de_champ/#{stable_id}"
else
"type_de_champ/#{stable_id}->#{path}"
end
end
def column_id = "type_de_champ/#{stable_id}->#{path}"
def typed_value(champ)
return nil if path == :value