Beautiful Open-Source Form Builder
fix lint error (#431)
Chirag Chhatrala4b9db042ed56
diff --git a/app/Rules/CustomFieldValidationRule.php b/app/Rules/CustomFieldValidationRule.phpindex f31823640..100ebedde 100644--- a/app/Rules/CustomFieldValidationRule.php+++ b/app/Rules/CustomFieldValidationRule.php@@ -26,10 +26,10 @@ class CustomFieldValidationRule implements Rulepublic function passes($attribute, $value){if (!($this->validation['error_conditions']['conditions'] ?? null) || is_null(- $this->validation['error_conditions']['conditions'] ?? null- )) {- return true;- }+ $this->validation['error_conditions']['conditions'] ?? null+ )) {+ return true;+ }return FormLogicConditionChecker::conditionsMet($this->validation['error_conditions']['conditions'],$this->formDatadiff --git a/client/components/open/tables/OpenTable.vue b/client/components/open/tables/OpenTable.vueindex c152ee49c..a541cfa1f 100644--- a/client/components/open/tables/OpenTable.vue+++ b/client/components/open/tables/OpenTable.vue@@ -209,24 +209,24 @@ export default {}},+ computed: {+ formData() {+ return [...this.data].sort((a, b) => new Date(b.created_at) - new Date(a.created_at))+ }+ },+watch: {columns: {handler() {this.internalColumns = clonedeep(this.columns)this.onStructureChange()},- deep: true,+ deep: true},data() {this.$nextTick(() => {this.handleScroll()})- },- },-- computed: {- formData(){- return this.data.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));}},