@eqproject/eqp-dynamic-module 2.7.19 → 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.
- package/esm2020/lib/components/private/dbgetter/dbgetter.component.mjs +5 -4
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +4 -3
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +4 -3
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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:
|
|
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 ==
|
|
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:
|
|
4447
|
+
this.relations.push({ field: fieldRelated, loaded: true });
|
|
4448
4448
|
this.checkRelations();
|
|
4449
4449
|
}
|
|
4450
4450
|
this.showButtonReply = true;
|
|
@@ -4452,6 +4452,7 @@ class DbgetterComponent {
|
|
|
4452
4452
|
}
|
|
4453
4453
|
else {
|
|
4454
4454
|
this.showButtonReply = true;
|
|
4455
|
+
this.relationsLoaded = true;
|
|
4455
4456
|
}
|
|
4456
4457
|
}
|
|
4457
4458
|
else {
|