mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
adjust pdf generation
This commit is contained in:
1 parent
386f130d7a
commit
6568f81ee9
2 files changed
+5
-3
No files matched your search
@@ -28,7 +28,7 @@ module Submissions
|
||||
original_documents = template.documents.preload(:blob)
|
||||
|
||||
result_attachments =
|
||||
submission.template_schema.map do |item|
|
||||
(submission.template_schema || template.schema).map do |item|
|
||||
pdf = pdfs_index[item['attachment_uuid']]
|
||||
|
||||
if original_documents.find { |a| a.uuid == item['attachment_uuid'] }.image?
|
||||
|
||||
Reference in new issue
Block a user