From 4b1e743ecf5e3985b966655503d203b69d41727f Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 24 Jul 2024 17:19:59 +0200 Subject: [PATCH] fix wrong method on projected dossier --- app/views/instructeurs/procedures/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/procedures/show.html.haml b/app/views/instructeurs/procedures/show.html.haml index 322017d97..d73df00cd 100644 --- a/app/views/instructeurs/procedures/show.html.haml +++ b/app/views/instructeurs/procedures/show.html.haml @@ -173,7 +173,7 @@ dossier_is_followed: @followed_dossiers_id.include?(p.dossier_id), close_to_expiration: @statut == 'expirant', hidden_by_administration: @statut == 'supprimes_recemment', - hidden_by_expired: p.hidden_by_expired?, + hidden_by_expired: p.hidden_by_reason == 'expired', sva_svr: @procedure.sva_svr_enabled?, has_blocking_pending_correction: @procedure.feature_enabled?(:blocking_pending_correction) && p.pending_correction?, turbo: false,