@eqproject/eqp-dynamic-module 2.6.9 → 2.6.11

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.
@@ -4317,7 +4317,10 @@ class DynamicModuleFieldFixComponent {
4317
4317
  this.configList.values = this.record[this.field.Name];
4318
4318
  this.configList.showTitle = true;
4319
4319
  this.configList.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
4320
- if (this.field.DataGetter.DataGetterType == DataGetterTypeEnum['Da modulo dinamico']) {
4320
+ if (this.field.DataGetterValueBase64String != null && this.field.DataGetterValueBase64String != "") {
4321
+ this.field.DataGetter = JSON.parse(atob(this.field.DataGetterValueBase64String));
4322
+ }
4323
+ if (this.field.DataGetter != null && this.field.DataGetter.DataGetterType == DataGetterTypeEnum['Da modulo dinamico']) {
4321
4324
  this.manageDMGetter();
4322
4325
  }
4323
4326
  }
@@ -5127,6 +5130,7 @@ class AddFormRecordComponent {
5127
5130
  triggerToFire.record = record; // Il record che ha provocato il trigger
5128
5131
  triggerToFire.trigger = trigger; // Il trigger
5129
5132
  triggerToFire.formulas = formulas; // Le formule inviate in input al modulo dinamico, valutate nel contesto del trigger e del record
5133
+ triggerToFire.userPatient = this.userID; // UserID
5130
5134
  this.fireTrigger.emit(triggerToFire);
5131
5135
  }
5132
5136
  });