@sumaris-net/ngx-components 1.3.3 → 1.3.4

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.
@@ -21196,6 +21196,7 @@
21196
21196
  case 0:
21197
21197
  if (this.saving)
21198
21198
  return [2 /*return*/]; // Skip
21199
+ event === null || event === void 0 ? void 0 : event.preventDefault();
21199
21200
  // Remove all empty controls
21200
21201
  this.propertiesFormHelper.removeAllEmpty();
21201
21202
  if (this.form.invalid && this.debug) {
@@ -21333,7 +21334,7 @@
21333
21334
  _a.label = 3;
21334
21335
  case 3:
21335
21336
  // Back to home
21336
- return [2 /*return*/, this.router.navigateByUrl('/', { skipLocationChange: true })];
21337
+ return [2 /*return*/, this.router.navigateByUrl('/', { replaceUrl: true })]; // back to home
21337
21338
  }
21338
21339
  });
21339
21340
  });