fix(dossier): fix crash when dossier has no service

This commit is contained in:
Paul Chavard 2024-07-25 17:04:31 +02:00
parent a4d97c6526
commit 8f313a036e
No known key found for this signature in database

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 }