From d618f7cc0f3afa6efcf5394a7b8a97e7609db113 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 30 Oct 2024 16:09:40 +0100 Subject: [PATCH] only expose chorus col when necessary --- app/models/concerns/columns_concern.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/columns_concern.rb b/app/models/concerns/columns_concern.rb index b827c3655..7590cf80e 100644 --- a/app/models/concerns/columns_concern.rb +++ b/app/models/concerns/columns_concern.rb @@ -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