Merge pull request #7593 from tchak/feat-enable-siret-in-blocks

feat(types_de_champ): allow siret in repetition blocks
This commit is contained in:
Paul Chavard 2022-07-26 13:05:48 +02:00 committed by GitHub
commit 35e3dcd848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,8 +77,7 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
EXCLUDE_FROM_BLOCK = [ EXCLUDE_FROM_BLOCK = [
TypeDeChamp.type_champs.fetch(:carte), TypeDeChamp.type_champs.fetch(:carte),
TypeDeChamp.type_champs.fetch(:dossier_link), TypeDeChamp.type_champs.fetch(:dossier_link),
TypeDeChamp.type_champs.fetch(:repetition), TypeDeChamp.type_champs.fetch(:repetition)
TypeDeChamp.type_champs.fetch(:siret)
] ]
def filter_block_type_champ(type_champ) def filter_block_type_champ(type_champ)