@maplander/components 0.21.40 → 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.
- package/bundles/maplander-components.umd.js +12 -8
- package/bundles/maplander-components.umd.js.map +1 -1
- package/bundles/maplander-components.umd.min.js +1 -1
- package/bundles/maplander-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/filters/filters.component.js +13 -9
- package/esm5/lib/components/filters/filters.component.js +13 -9
- package/fesm2015/maplander-components.js +12 -8
- package/fesm2015/maplander-components.js.map +1 -1
- package/fesm5/maplander-components.js +12 -8
- package/fesm5/maplander-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -3111,6 +3111,18 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
3111
3111
|
if (this.surfaceUnitSelected === 1) {
|
|
3112
3112
|
filterToSearch.mainArea = filterToSearch.mainArea * this.METERS_TO_SQ;
|
|
3113
3113
|
}
|
|
3114
|
+
if (!this.filtersForm.controls['minPrice'].value) {
|
|
3115
|
+
this.filtersForm.controls['minPrice'].reset(0);
|
|
3116
|
+
this.filtersForm.patchValue({
|
|
3117
|
+
minPrice: 0
|
|
3118
|
+
});
|
|
3119
|
+
}
|
|
3120
|
+
if (!this.filtersForm.controls['minPrice'].value) {
|
|
3121
|
+
this.filtersForm.controls['minPrice'].reset(0);
|
|
3122
|
+
this.filtersForm.patchValue({
|
|
3123
|
+
maxPrice: 0
|
|
3124
|
+
});
|
|
3125
|
+
}
|
|
3114
3126
|
this.changeFilter.emit({ type: 'filter', payload: { filter: this.filter, value: filterToSearch } });
|
|
3115
3127
|
};
|
|
3116
3128
|
/**
|
|
@@ -3397,10 +3409,6 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
3397
3409
|
*/
|
|
3398
3410
|
function (value) {
|
|
3399
3411
|
if (!value) {
|
|
3400
|
-
_this.filtersForm.controls['minPrice'].reset(0);
|
|
3401
|
-
_this.filtersForm.patchValue({
|
|
3402
|
-
minPrice: 0
|
|
3403
|
-
});
|
|
3404
3412
|
return;
|
|
3405
3413
|
}
|
|
3406
3414
|
_this.maxPriceList = Object.assign([], _this._tmpMaxPriceList);
|
|
@@ -3416,10 +3424,6 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
3416
3424
|
*/
|
|
3417
3425
|
function (value) {
|
|
3418
3426
|
if (!value) {
|
|
3419
|
-
_this.filtersForm.controls['maxPrice'].reset(0);
|
|
3420
|
-
_this.filtersForm.patchValue({
|
|
3421
|
-
maxPrice: 0
|
|
3422
|
-
});
|
|
3423
3427
|
return;
|
|
3424
3428
|
}
|
|
3425
3429
|
_this.minPriceList = Object.assign([], _this._tmpMinPriceList);
|