ng-easycommerce 0.0.577 → 0.0.578
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/README.md +1 -1
- package/bundles/ng-easycommerce.umd.js +2 -1
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/ec-component/cart-ec/cart-ec.component.js +3 -2
- package/esm5/lib/ec-component/cart-ec/cart-ec.component.js +3 -2
- package/fesm2015/ng-easycommerce.js +2 -1
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +2 -1
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/cart-ec/cart-ec.component.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7355,12 +7355,13 @@
|
|
|
7355
7355
|
CartEcComponent.prototype.redirectCheckout = function () {
|
|
7356
7356
|
if (this.cartService.hasSufficientCreditsForCartTotal()) {
|
|
7357
7357
|
this.router.navigateByUrl("/checkout");
|
|
7358
|
+
return true;
|
|
7358
7359
|
}
|
|
7359
7360
|
else {
|
|
7360
7361
|
console.warn("No se puede redirigir al checkout debido a una validación fallida.");
|
|
7362
|
+
return false;
|
|
7361
7363
|
}
|
|
7362
7364
|
};
|
|
7363
|
-
;
|
|
7364
7365
|
CartEcComponent.prototype.openModal = function (template) {
|
|
7365
7366
|
this.modalRef = this.modalService.show(template, { class: 'modal-xl', keyboard: false });
|
|
7366
7367
|
};
|