tuain-ng-forms-lib 0.12.7 → 0.12.8
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.
|
@@ -3434,7 +3434,7 @@
|
|
|
3434
3434
|
if (!this.name) {
|
|
3435
3435
|
return [2 /*return*/];
|
|
3436
3436
|
}
|
|
3437
|
-
if (
|
|
3437
|
+
// if (!this.definitionObtained) {
|
|
3438
3438
|
this.inServerProcess = true;
|
|
3439
3439
|
return [4 /*yield*/, this.formManagerService.getFormDefinition(this.name)];
|
|
3440
3440
|
case 1:
|
|
@@ -3442,11 +3442,9 @@
|
|
|
3442
3442
|
this.inServerProcess = false;
|
|
3443
3443
|
this.formStructure = new FormStructureAndData(formDefinition);
|
|
3444
3444
|
this.definitionObtained = true;
|
|
3445
|
-
|
|
3446
|
-
case 2:
|
|
3445
|
+
// } else {
|
|
3447
3446
|
this.cleanData();
|
|
3448
|
-
|
|
3449
|
-
case 3:
|
|
3447
|
+
// }
|
|
3450
3448
|
if (!this.supportState(initialState)) {
|
|
3451
3449
|
initialState = this.formStructure.defaultState;
|
|
3452
3450
|
}
|
|
@@ -3468,7 +3466,7 @@
|
|
|
3468
3466
|
finally { if (e_2) throw e_2.error; }
|
|
3469
3467
|
}
|
|
3470
3468
|
return [4 /*yield*/, this.requestFormAction(componentConstants.FORMACTION_GETDATA)];
|
|
3471
|
-
case
|
|
3469
|
+
case 2:
|
|
3472
3470
|
recordResponse = _j.sent();
|
|
3473
3471
|
this.checkErrorRecordReceived(recordResponse);
|
|
3474
3472
|
this.formVisible = true;
|