@eqproject/eqp-dynamic-module 2.10.80 → 2.10.82

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.
@@ -8250,6 +8250,9 @@ class AddFormRecordComponent {
8250
8250
  this.showTitle = this.configurations.showTitle;
8251
8251
  this.showSaveButton = this.configurations.showSaveButton;
8252
8252
  this.showBackButton = this.configurations.showBackButton;
8253
+ if (this.actionButtons == null) {
8254
+ this.actionButtons = new Array();
8255
+ }
8253
8256
  this.visibleActionButtons = this.actionButtons.filter(x => x.ShowIn == ActionFlagEnum.ADDRECORD);
8254
8257
  GlobalService.debugLog("AddFormRecord");
8255
8258
  if (this.record == null) {
@@ -17856,6 +17859,9 @@ class EqpDynamicModuleConfiguratorComponent {
17856
17859
  // Trasformo il Base64String del Datagetter nel Datagetter vero e proprio
17857
17860
  if (field.DataGetterValueBase64String != null) {
17858
17861
  field.DataGetter = JSON.parse(atob(field.DataGetterValueBase64String));
17862
+ if (field.DataGetter == null) {
17863
+ field.DataGetter = new DataGetter();
17864
+ }
17859
17865
  field.DataGetter.DataGetterType = field.DataGetter.DataGetterType == null ? DataGetterTypeEnum.Manuale : field.DataGetter.DataGetterType;
17860
17866
  }
17861
17867
  else {