@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
|
@@ -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
|
/**
|
|
@@ -3409,10 +3421,6 @@
|
|
|
3409
3421
|
*/
|
|
3410
3422
|
function (value) {
|
|
3411
3423
|
if (!value) {
|
|
3412
|
-
_this.filtersForm.controls['minPrice'].reset(0);
|
|
3413
|
-
_this.filtersForm.patchValue({
|
|
3414
|
-
minPrice: 0
|
|
3415
|
-
});
|
|
3416
3424
|
return;
|
|
3417
3425
|
}
|
|
3418
3426
|
_this.maxPriceList = Object.assign([], _this._tmpMaxPriceList);
|
|
@@ -3428,10 +3436,6 @@
|
|
|
3428
3436
|
*/
|
|
3429
3437
|
function (value) {
|
|
3430
3438
|
if (!value) {
|
|
3431
|
-
_this.filtersForm.controls['maxPrice'].reset(0);
|
|
3432
|
-
_this.filtersForm.patchValue({
|
|
3433
|
-
maxPrice: 0
|
|
3434
|
-
});
|
|
3435
3439
|
return;
|
|
3436
3440
|
}
|
|
3437
3441
|
_this.minPriceList = Object.assign([], _this._tmpMinPriceList);
|