ng-easycommerce 0.0.606 → 0.0.607

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.
@@ -9891,11 +9891,16 @@ var HeaderEcComponent = /** @class */ (function (_super) {
9891
9891
  if (afterSearch) {
9892
9892
  afterSearch.apply(void 0, __spread$5(args));
9893
9893
  }
9894
+ event.target.value = ''; // Limpiamos el valor del input después de la búsqueda
9894
9895
  }
9895
9896
  };
9896
- _this.getCollectionSearch = function () {
9897
+ _this.getCollectionSearch = function (searchInput) {
9897
9898
  _this.consts.searchValue = _this.searchValue;
9898
9899
  _this.router.navigateByUrl('/collection?search=' + _this.searchValue);
9900
+ // Limpia el valor de búsqueda
9901
+ if (searchInput) {
9902
+ searchInput.value = '';
9903
+ }
9899
9904
  };
9900
9905
  _this.toogleToolbar = function () {
9901
9906
  console.log('LLAMA AL TOOGLE');