allow to invite party
This commit is contained in:
committed by
Oleksandr Turchyn
parent
3604fb6461
commit
10fbdf6612
@@ -23,4 +23,11 @@ module Templates
|
||||
|
||||
templates.where(Template.arel_table[:name].lower.matches("%#{keyword.downcase}%"))
|
||||
end
|
||||
|
||||
def filter_undefined_submitters(template)
|
||||
template.submitters.to_a.select do |item|
|
||||
item['invite_by_uuid'].blank? && item['linked_to_uuid'].blank? &&
|
||||
item['is_requester'].blank? && item['email'].blank?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user