fix: do not show notifications filter on unfollowed dossiers

This commit is contained in:
simon lehericey 2024-04-29 11:13:57 +02:00
parent 385277d5a0
commit 9d847ef57a
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -62,7 +62,7 @@
.flex.align-center
- if @filtered_sorted_paginated_ids.present? || @current_filters.count > 0
= render partial: "dossiers_filter_dropdown", locals: { procedure: @procedure, statut: @statut}
= render Dossiers::NotifiedToggleComponent.new(procedure: @procedure, procedure_presentation: @procedure_presentation)
= render Dossiers::NotifiedToggleComponent.new(procedure: @procedure, procedure_presentation: @procedure_presentation) if @statut != 'a-suivre'
.fr-ml-auto