2022-11-23 18:40:49 +01:00
|
|
|
- if @dossier.present?
|
|
|
|
= turbo_stream.replace_all '.invite-user-action', partial: 'invites/dropdown', locals: { dossier: @dossier }
|
2023-01-16 21:31:07 +01:00
|
|
|
- if @dossier.invites.empty?
|
|
|
|
= turbo_stream.focus 'invite_email'
|
|
|
|
- else
|
|
|
|
= turbo_stream.focus_all '#invites-form ul a:first-child'
|