remove useless if

Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
simon lehericey 2021-05-26 17:28:31 +02:00 committed by Christophe Robillard
parent 09b3cf98f6
commit 61b5085390

View file

@ -30,7 +30,6 @@
%th Télécharger %th Télécharger
%tbody %tbody
- if can_generate_archive?(@dossiers_termines, @poids_total)
%tr %tr
- matching_archive = @archives.find { |archive| archive.time_span_type == 'everything' } - matching_archive = @archives.find { |archive| archive.time_span_type == 'everything' }
%td %td