Merge pull request #10650 from tchak/fix-update-service-info

fix(dossier): fix crash when dossier has no service
This commit is contained in:
Paul Chavard 2024-07-25 15:11:53 +00:00 committed by GitHub
commit 821861867c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,4 +7,4 @@
= turbo_stream.remove(dom_id(@dossier, :ineligibilite_rules_broken))
- if @update_contact_information
= turbo_stream.update "contact_information", partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure }
= turbo_stream.update "contact_information", partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @dossier.procedure }