mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix file link generation
This commit is contained in:
1 parent
984df15949
commit
4eb4e8c1f8
1 file changed
+1
-1
@@ -135,7 +135,7 @@ module Submissions
|
||||
ActiveStorage::Blob.proxy_url(attachment.blob) if attachment
|
||||
elsif template_field_type == 'file'
|
||||
Array.wrap(submitter_value).compact_blank.filter_map do |e|
|
||||
attachment = attachments_index[e]&.url
|
||||
attachment = attachments_index[e]
|
||||
ActiveStorage::Blob.proxy_url(attachment.blob) if attachment
|
||||
end
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user