@colijnit/transaction 253.1.2 → 253.1.3

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.
@@ -33,8 +33,8 @@
33
33
  function Version() {
34
34
  this.name = "@colijnit/transaction";
35
35
  this.description = "Colijn IT transaction package";
36
- this.symVer = "253.1.2";
37
- this.publishDate = "2-7-2024 10:19:02";
36
+ this.symVer = "253.1.3";
37
+ this.publishDate = "3-7-2024 10:16:25";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -49001,14 +49001,18 @@
49001
49001
  return [4 /*yield*/, this.transactionService.saveTransaction()];
49002
49002
  case 1:
49003
49003
  response = _a.sent();
49004
- if (response && response.isSuccess) {
49005
- this.transId = response.transactionInfo.id;
49006
- }
49004
+ if (!(response && response.isSuccess)) return [3 /*break*/, 3];
49005
+ this.transId = response.transactionInfo.id;
49007
49006
  return [4 /*yield*/, _super.ngOnInit.call(this)];
49008
49007
  case 2:
49009
49008
  _a.sent();
49010
49009
  this.transactionSaved = true;
49011
- return [2 /*return*/];
49010
+ return [3 /*break*/, 4];
49011
+ case 3:
49012
+ this.transactionSaved = false;
49013
+ this.handleCloseDialog();
49014
+ _a.label = 4;
49015
+ case 4: return [2 /*return*/];
49012
49016
  }
49013
49017
  });
49014
49018
  });