From 0f9983e93af94dac0c1d3b002bec2ecba90b682c Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 20 Jul 2022 16:41:15 +0200 Subject: [PATCH] feat(types_de_champ): allow siret in repetition blocks --- app/components/types_de_champ_editor/champ_component.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/types_de_champ_editor/champ_component.rb b/app/components/types_de_champ_editor/champ_component.rb index 40dd87827..e7f25ccd2 100644 --- a/app/components/types_de_champ_editor/champ_component.rb +++ b/app/components/types_de_champ_editor/champ_component.rb @@ -77,8 +77,7 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent EXCLUDE_FROM_BLOCK = [ TypeDeChamp.type_champs.fetch(:carte), TypeDeChamp.type_champs.fetch(:dossier_link), - TypeDeChamp.type_champs.fetch(:repetition), - TypeDeChamp.type_champs.fetch(:siret) + TypeDeChamp.type_champs.fetch(:repetition) ] def filter_block_type_champ(type_champ)