sf-crud 13.0.8 → 13.0.9
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/fesm2022/sf-crud.mjs +7 -3
- package/fesm2022/sf-crud.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2022/sf-crud.mjs
CHANGED
|
@@ -3261,11 +3261,15 @@ class RegistroComponent {
|
|
|
3261
3261
|
this.btnSubmit = x[this.sfCrudService.getTrx(0)];
|
|
3262
3262
|
}
|
|
3263
3263
|
back() {
|
|
3264
|
+
let back = "";
|
|
3264
3265
|
if (this.back_route && this.back_route != "") {
|
|
3265
|
-
this.
|
|
3266
|
-
|
|
3266
|
+
back = this.back_route;
|
|
3267
|
+
}
|
|
3268
|
+
else {
|
|
3269
|
+
back = this.sfCrudService.registros[0].btnBack;
|
|
3267
3270
|
}
|
|
3268
|
-
|
|
3271
|
+
console.log("Back to: ", back);
|
|
3272
|
+
this.router.navigateByUrl(back);
|
|
3269
3273
|
}
|
|
3270
3274
|
cargarMascarasDirecciones() {
|
|
3271
3275
|
if (this.sfCrudService.mascaras.length == 0) {
|