@eqproject/eqp-dynamic-module 2.9.33 → 2.9.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9837,8 +9837,8 @@ class FilterFormStatisticComponent {
9837
9837
  }
9838
9838
  this.loader = true;
9839
9839
  }
9840
- getStatisticFromFieldName(Statistics, fieldName) {
9841
- return Statistics.find(x => x.key == fieldName);
9840
+ getStatisticFromFieldName(Statistics = null, fieldName) {
9841
+ return Statistics == null ? null : Statistics.find(x => x.key == fieldName);
9842
9842
  }
9843
9843
  /**
9844
9844
  * Metodo per creare nell'oggetto Record le proprietà mancanti rispetto ai campi che compongono la form.