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 CHANGED
@@ -1,4 +1,4 @@
1
- # version 0.0.577
1
+ # version 0.0.577 y 0.0.578
2
2
  - Error funcion void en `cart-ec.component.ts`
3
3
  # version 0.0.576
4
4
  - Se hace merge y estable la version de decidir.
@@ -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
  };