use nb_dossiers to estimate total weight

Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
simon lehericey 2021-05-26 17:28:18 +02:00 committed by Christophe Robillard
parent 1a6337cf37
commit 09b3cf98f6
2 changed files with 3 additions and 3 deletions

View file

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