remove extra file (#297)
This commit is contained in:
17
client/mixins/forms/fieldsLogic.js
vendored
17
client/mixins/forms/fieldsLogic.js
vendored
@@ -1,17 +0,0 @@
|
|||||||
import FormPropertyLogicRule from '../../forms/FormPropertyLogicRule.js'
|
|
||||||
export default {
|
|
||||||
methods: {
|
|
||||||
validateFieldsLogic (properties) {
|
|
||||||
properties.forEach((field) => {
|
|
||||||
const isValid = (new FormPropertyLogicRule(field)).isValid()
|
|
||||||
if(!isValid){
|
|
||||||
field.logic = {
|
|
||||||
conditions: null,
|
|
||||||
actions: []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
return properties
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user