mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
improve phone field
This commit is contained in:
1 parent
17b8354c40
commit
c49cb4b0c8
6 files changed
+70
-22
No files matched your search
@@ -239,10 +239,10 @@ module Submissions
|
||||
{ text: SubmissionEvents::EVENT_NAMES[event.event_type.to_sym],
|
||||
font: [FONT_BOLD_NAME, { variant: :bold }] },
|
||||
event.event_type.include?('send_') ? ' to ' : ' by ',
|
||||
if event.event_type.include?('sms')
|
||||
if event.event_type.include?('sms') || event.event_type.include?('phone')
|
||||
submitter.phone
|
||||
else
|
||||
(submitter.email || submitter.name || submitter.phone)
|
||||
(submitter.name || submitter.email || submitter.phone)
|
||||
end
|
||||
]
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user