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
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

Loading…
Cancel
Save