fix(manager): brouillon is not deleted

This commit is contained in:
simon lehericey 2022-05-02 16:24:39 +02:00 committed by Pierre de La Morinerie
parent d85716dd5d
commit 4b9ffe026b

View file

@ -22,7 +22,7 @@ as well as a link to its edit page.
<header class="main-content__header" role="banner">
<h1 class="main-content__page-title">
<%= content_for(:title) %>
<% if dossier.hidden_for_administration? %>
<% if dossier.hidden_for_administration? && !dossier.brouillon? %>
(Supprimé)
<% end %>
</h1>