only expose chorus col when necessary

This commit is contained in:
simon lehericey 2024-10-30 16:09:40 +01:00
parent 92a863d48c
commit d618f7cc0f
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -25,7 +25,7 @@ module ColumnsConcern
columns.concat(standard_columns)
columns.concat(individual_columns) if for_individual
columns.concat(moral_columns) if !for_individual
columns.concat(procedure_chorus_columns)
columns.concat(procedure_chorus_columns) if chorusable? && chorus_configuration.complete?
columns.concat(types_de_champ_columns)
end
end