mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fix file prefill
This commit is contained in:
1 parent
227a067c77
commit
90db64cc03
2 files changed
+7
-5
No files matched your search
@@ -48,13 +48,15 @@ module Submissions
|
||||
|
||||
submitters.each do |submitter|
|
||||
submitter.values.each_value do |value|
|
||||
attachment = attachments_index[value]
|
||||
Array.wrap(value).each do |v|
|
||||
attachment = attachments_index[v]
|
||||
|
||||
next unless attachment
|
||||
next unless attachment
|
||||
|
||||
attachment.record = submitter
|
||||
attachment.record = submitter
|
||||
|
||||
attachment.save!
|
||||
attachment.save!
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user