mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fix condition remove
This commit is contained in:
1 parent
6542804f44
commit
36bee92e8e
2 files changed
+26
-12
No files matched your search
+1
-1
@@ -239,7 +239,7 @@ module Submissions
|
||||
|
||||
item['conditions'].each_with_object([]) do |condition, acc|
|
||||
result =
|
||||
if fields_index[condition['field_uuid']]['submitter_uuid'] == include_submitter_uuid
|
||||
if fields_index.dig(condition['field_uuid'], 'submitter_uuid') == include_submitter_uuid
|
||||
submitter_conditions_acc << condition if submitter_conditions_acc
|
||||
|
||||
true
|
||||
|
||||
Reference in new issue
Block a user