@maplander/components 0.21.39 → 0.21.41

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.
@@ -3123,6 +3123,18 @@
3123
3123
  if (this.surfaceUnitSelected === 1) {
3124
3124
  filterToSearch.mainArea = filterToSearch.mainArea * this.METERS_TO_SQ;
3125
3125
  }
3126
+ if (!this.filtersForm.controls['minPrice'].value) {
3127
+ this.filtersForm.controls['minPrice'].reset(0);
3128
+ this.filtersForm.patchValue({
3129
+ minPrice: 0
3130
+ });
3131
+ }
3132
+ if (!this.filtersForm.controls['minPrice'].value) {
3133
+ this.filtersForm.controls['minPrice'].reset(0);
3134
+ this.filtersForm.patchValue({
3135
+ maxPrice: 0
3136
+ });
3137
+ }
3126
3138
  this.changeFilter.emit({ type: 'filter', payload: { filter: this.filter, value: filterToSearch } });
3127
3139
  };
3128
3140
  /**
@@ -3399,7 +3411,6 @@
3399
3411
  */
3400
3412
  function (value) {
3401
3413
  if (!value) {
3402
- _this.filtersForm.controls['maxPrice'].reset(0);
3403
3414
  return;
3404
3415
  }
3405
3416
  _this.setPrices((/** @type {?} */ (value.toString())));
@@ -3410,7 +3421,6 @@
3410
3421
  */
3411
3422
  function (value) {
3412
3423
  if (!value) {
3413
- _this.filtersForm.controls['minPrice'].reset(0);
3414
3424
  return;
3415
3425
  }
3416
3426
  _this.maxPriceList = Object.assign([], _this._tmpMaxPriceList);