adjust signature prefill

This commit is contained in:
Pete Matsyburka
2024-07-24 09:13:13 +03:00
parent 11c48a495f
commit 04295f4540
4 changed files with 31 additions and 40 deletions
@@ -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