mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
adjust condition fields
This commit is contained in:
1 parent
1876b3efba
commit
cbff242a5d
4 files changed
+23
-17
No files matched your search
@@ -154,7 +154,7 @@ export default {
|
||||
computed: {
|
||||
fields () {
|
||||
return this.template.fields.reduce((acc, f) => {
|
||||
if (f !== this.field && f.submitter_uuid === this.field.submitter_uuid && ['number'].includes(f.type) && !f.preferences?.formula) {
|
||||
if (f !== this.field && ['number'].includes(f.type) && (!f.preferences?.formula || f.submitter_uuid !== this.field.submitter_uuid)) {
|
||||
acc.push(f)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user