@eqproject/eqp-dynamic-module 2.7.20 → 2.7.21

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.
@@ -4429,13 +4429,13 @@ class DbgetterComponent {
4429
4429
  var fieldRelated = fieldWithRelation.QueryPropertyValue.replace("!", "");
4430
4430
  if (this.record[fieldRelated] == null) {
4431
4431
  console.log("this.record[fieldRelated] E' NULL", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4432
- this.relations.push({ field: this.record[fieldRelated], loaded: false });
4432
+ this.relations.push({ field: fieldRelated, loaded: false });
4433
4433
  this.checkRelations();
4434
4434
  this.interval = setInterval(() => {
4435
4435
  console.log("this.record[fieldRelated] CHECK", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4436
4436
  if (this.record[fieldRelated] != null) {
4437
4437
  console.log("this.record[fieldRelated] E' CAMBIATO E NON E' NULL!! :)", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4438
- this.relations.find(x => x.field == this.record[fieldRelated]).loaded = true;
4438
+ this.relations.find(x => x.field == fieldRelated).loaded = true;
4439
4439
  this.checkRelations();
4440
4440
  fieldWithRelation.QueryPropertyValue = this.record[fieldRelated];
4441
4441
  }
@@ -4444,7 +4444,7 @@ class DbgetterComponent {
4444
4444
  else {
4445
4445
  console.log("this.record[fieldRelated] NON E' NULL!! :)", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4446
4446
  fieldWithRelation.QueryPropertyValue = this.record[fieldRelated] != null ? this.record[fieldRelated] : '';
4447
- this.relations.push({ field: this.record[fieldRelated], loaded: true });
4447
+ this.relations.push({ field: fieldRelated, loaded: true });
4448
4448
  this.checkRelations();
4449
4449
  }
4450
4450
  this.showButtonReply = true;