adjust signature prefill

This commit is contained in:
Pete Matsyburka committed 2024-07-24 09:13:13 +03:00
1 parent 11c48a495f
commit 04295f4540
4 files changed
+31 -40

No files matched your search

@@ -43,14 +43,6 @@ module Submitters
record: submitter
)
attachment.uuid
elsif field['type'] == 'signature' && (signature = UserConfigs.load_signature(user))
attachment = ActiveStorage::Attachment.find_or_create_by!(
blob_id: signature.blob_id,
name: 'attachments',
record: submitter
)
attachment.uuid
end
end