use routable_type_de_champ
This commit is contained in:
parent
174f7a7c53
commit
f61498693a
2 changed files with 6 additions and 2 deletions
|
@ -34,8 +34,8 @@ class Procedure::OneGroupeManagementComponent < ApplicationComponent
|
|||
end
|
||||
|
||||
def available_targets_for_select
|
||||
@revision.types_de_champ_public
|
||||
.filter { |tdc| [:drop_down_list].include?(tdc.type_champ.to_sym) }
|
||||
@revision
|
||||
.routable_types_de_champ
|
||||
.map { |tdc| [tdc.libelle, champ_value(tdc.stable_id).to_json] }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue