@maplander/components 0.21.46 → 0.21.47

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.
@@ -2971,12 +2971,12 @@ var FiltersComponent = /** @class */ (function () {
2971
2971
  * @return {?}
2972
2972
  */
2973
2973
  function () {
2974
- if (!this.filtersForm.get('minPrice')) {
2974
+ if (!this.filtersForm.get('minPrice').value || this.filtersForm.get('minPrice').value === '') {
2975
2975
  this.filtersForm.patchValue({
2976
2976
  minPrice: 0
2977
2977
  });
2978
2978
  }
2979
- if (!this.filtersForm.get('maxPrice')) {
2979
+ if (!this.filtersForm.get('maxPrice').value || this.filtersForm.get('maxPrice').value === '') {
2980
2980
  this.filtersForm.patchValue({
2981
2981
  maxPrice: 0
2982
2982
  });