add archived add to submissions

This commit is contained in:
Pete Matsyburka
2023-12-22 23:12:00 +02:00
parent 59a66bbd16
commit 0aefe616b3
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ module Submissions
attachments_index = attachments.index_by(&:uuid)
submitters.each do |submitter|
submitter.values.to_a.each do |_, value|
submitter.values.each_value do |value|
attachment = attachments_index[value]
next unless attachment