avoid useless count

Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
simon lehericey 2021-05-26 16:28:14 +02:00 committed by Christophe Robillard
parent 895eed5a27
commit f094c6c218

View file

@ -36,7 +36,7 @@
%td
Tous les dossiers
%td
= @dossiers_termines.count
= @count_dossiers_termines_by_month.sum { |count_by_month| count_by_month["count"] }
%td
- if matching_archive.present? && matching_archive.available?
- weight = matching_archive.file.byte_size