fix submitter name

pull/381/head
Pete Matsyburka 1 year ago committed by Oleksandr Turchyn
parent 2fcb08d27d
commit c6b004f107

@ -86,11 +86,11 @@ class Submitter < ApplicationRecord
end end
def first_name def first_name
name.split(/\s+/, 2).first name&.split(/\s+/, 2)&.first
end end
def last_name def last_name
name.split(/\s+/, 2).last name&.split(/\s+/, 2)&.last
end end
def status_event_at def status_event_at

Loading…
Cancel
Save