mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
fix submitter name
This commit is contained in:
1 parent
2fcb08d27d
commit
c6b004f107
1 file changed
+2
-2
@@ -86,11 +86,11 @@ class Submitter < ApplicationRecord
|
||||
end
|
||||
|
||||
def first_name
|
||||
name.split(/\s+/, 2).first
|
||||
name&.split(/\s+/, 2)&.first
|
||||
end
|
||||
|
||||
def last_name
|
||||
name.split(/\s+/, 2).last
|
||||
name&.split(/\s+/, 2)&.last
|
||||
end
|
||||
|
||||
def status_event_at
|
||||
|
||||
Reference in new issue
Block a user