mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
allow to invite fewer submitters than in template
This commit is contained in:
1 parent
3b03e61ae3
commit
d723146060
4 files changed
+4
-3
No files matched your search
@@ -24,6 +24,7 @@ module Submissions
|
||||
uuid = find_submitter_uuid(template, submitter_attrs, index)
|
||||
|
||||
next if uuid.blank?
|
||||
next if submitter_attrs.slice('email', 'phone', 'name').compact_blank.blank?
|
||||
|
||||
submission.template_submitters << template.submitters.find { |e| e['uuid'] == uuid }
|
||||
|
||||
|
||||
Reference in new issue
Block a user