correctif(compteurs.avis.a.donner): ETQ expert, les compteurs d'avis à donner n'intègrent pas les avis à donner sur des dossiers terminés
This commit is contained in:
parent
d2e30911f7
commit
9b86fdf853
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
%li.avis-a-donner
|
||||
%object
|
||||
= link_to(procedure_expert_avis_index_path(p, statut: Instructeurs::AvisController::A_DONNER_STATUS)) do
|
||||
- without_answer_count = procedure_avis.select { |a| a.answer.nil? }.size
|
||||
- without_answer_count = procedure_avis.select { _1.answer.nil? }.reject{ _1.dossier.termine?}.size
|
||||
- if without_answer_count > 0
|
||||
%span.notifications{ 'aria-label': "notifications" }
|
||||
.stats-number
|
||||
|
|
Loading…
Reference in a new issue