diff --git a/app/views/users/dossiers/update.turbo_stream.haml b/app/views/users/dossiers/update.turbo_stream.haml index d411339a8f1..0a92fa220d4 100644 --- a/app/views/users/dossiers/update.turbo_stream.haml +++ b/app/views/users/dossiers/update.turbo_stream.haml @@ -6,4 +6,5 @@ - else @ineligibilite_rules_is_computable = turbo_stream.remove(dom_id(@dossier, :ineligibilite_rules_broken)) - if @dossier.champs.filter(&:used_by_routing_rules?).pluck(:stable_id).any? { |id| params[:dossier][:champs_public_attributes].key?("#{id}") } - = turbo_stream.update "contact_information", partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure } + = turbo_stream.update "contact_information" do + = render partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure }