dossiers: refresh the whole header actions bar on status change
This ensure the other state-dependant buttons get updated to–like the "Follow" or "Archive" button. Fix #4186
This commit is contained in:
parent
3a37c1eeae
commit
79784089a4
3 changed files with 11 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
<%= render_flash %>
|
||||
<%= render_to_element('.state-button', partial: "state_button", locals: { dossier: dossier }) %>
|
||||
<%= render_to_element('.header-actions', partial: 'header_actions', locals: { dossier: dossier }) %>
|
||||
|
||||
<% attachment = dossier.justificatif_motivation.attachment %>
|
||||
<% if attachment && attachment.virus_scanner.pending? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue