refactor(dossier_vide): use types_de_champ instead of empty dossier

This commit is contained in:
Paul Chavard 2024-03-12 13:42:06 +01:00
parent a106394e89
commit aa0aea1543
7 changed files with 67 additions and 98 deletions

View file

@ -1,5 +1,5 @@
class Champs::LinkedDropDownListChamp < Champ
delegate :primary_options, :secondary_options, to: 'type_de_champ.dynamic_type'
delegate :primary_options, :secondary_options, to: :type_de_champ
def options?
drop_down_list_options?