fix condition

This commit is contained in:
Pete Matsyburka
2024-08-19 19:29:53 +03:00
parent a0a0fdd1b5
commit 5f3a8bf391
+1 -1
View File
@@ -925,7 +925,7 @@ export default {
return field.conditions.reduce((acc, c) => {
const field = this.fieldsUuidIndex[c.field_uuid]
if (['not_empty', 'checked', 'equal', 'contains'].includes(c.action) && !this.checkFieldConditions(field)) {
if (['not_empty', 'checked', 'equal', 'contains'].includes(c.action) && field && !this.checkFieldConditions(field)) {
return false
}