diff --git a/app/components/conditions/routing_rules_component/routing_rules_component.html.haml b/app/components/conditions/routing_rules_component/routing_rules_component.html.haml index 9830d9864..6ea962d59 100644 --- a/app/components/conditions/routing_rules_component/routing_rules_component.html.haml +++ b/app/components/conditions/routing_rules_component/routing_rules_component.html.haml @@ -28,5 +28,5 @@ %td.operator= operator_tag(operator_name, targeted_champ, row_index) %td.value= right_operand_tag(targeted_champ, value, row_index) %td.delete-column= delete_condition_tag(row_index) - - .flex.justify-end.mt-2= add_condition_tag + - if @groupe_instructeur.procedure.feature_enabled?(:multi_line_routing) + .flex.justify-end.mt-2= add_condition_tag diff --git a/config/initializers/flipper.rb b/config/initializers/flipper.rb index f7cbd99dc..ae0436952 100644 --- a/config/initializers/flipper.rb +++ b/config/initializers/flipper.rb @@ -20,7 +20,8 @@ features = [ :groupe_instructeur_api_hack, :rerouting, :cojo_type_de_champ, - :sva + :sva, + :multi_line_routing ] def database_exists?