allow to add multiple emails per submitter

This commit is contained in:
Alex Turchyn committed 2023-09-16 13:49:05 +03:00
1 parent ef618f8f49
commit f89c50d096
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ class Submitter < ApplicationRecord
end
def friendly_name
if name.present?
if name.present? && email.present? && email.exclude?(',')
"#{name} <#{email}>"
else
email