@sumaris-net/ngx-components 1.4.0 → 1.4.1
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/bundles/sumaris-net.ngx-components.umd.js +5 -3
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/form.utils.js +3 -3
- package/esm2015/src/app/shared/toolbar/toolbar.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js +5 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -3794,7 +3794,7 @@
|
|
|
3794
3794
|
Object.keys(control.errors).forEach(function (error) { return console.warn(logPrefix + " -> " + (path || '') + " (" + error + ")"); });
|
|
3795
3795
|
}
|
|
3796
3796
|
if (control.controls) {
|
|
3797
|
-
Object.keys(control.controls).forEach(function (child) { return logFormErrors(control.controls[child], logPrefix, (path ? path + "
|
|
3797
|
+
Object.keys(control.controls).forEach(function (child) { return logFormErrors(control.controls[child], logPrefix, (path ? path + "." + child : child)); } // Recursive call
|
|
3798
3798
|
);
|
|
3799
3799
|
}
|
|
3800
3800
|
}
|
|
@@ -3804,7 +3804,7 @@
|
|
|
3804
3804
|
Object.keys(control.errors).forEach(function (error) { return console.warn(logPrefix + " -> " + (path || '') + " (" + error + ")"); });
|
|
3805
3805
|
}
|
|
3806
3806
|
control.controls.forEach(function (child, index) {
|
|
3807
|
-
logFormErrors(child, logPrefix, (path ? path + "
|
|
3807
|
+
logFormErrors(child, logPrefix, (path ? path + "." + index : "" + index)); // Recursive call
|
|
3808
3808
|
});
|
|
3809
3809
|
}
|
|
3810
3810
|
// Other control's errors
|
|
@@ -8345,7 +8345,9 @@
|
|
|
8345
8345
|
return [3 /*break*/, 7];
|
|
8346
8346
|
case 4:
|
|
8347
8347
|
if (!this._defaultBackHref) return [3 /*break*/, 6];
|
|
8348
|
-
return [4 /*yield*/, this.router.navigateByUrl(this._defaultBackHref
|
|
8348
|
+
return [4 /*yield*/, this.router.navigateByUrl(this._defaultBackHref, {
|
|
8349
|
+
replaceUrl: true
|
|
8350
|
+
})];
|
|
8349
8351
|
case 5:
|
|
8350
8352
|
_a.sent();
|
|
8351
8353
|
return [3 /*break*/, 7];
|