@maplander/components 0.21.35 → 0.21.36
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 +2 -3
- 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 +3 -4
- package/esm5/lib/components/filters/filters.component.js +3 -4
- package/fesm2015/maplander-components.js +2 -3
- package/fesm2015/maplander-components.js.map +1 -1
- package/fesm5/maplander-components.js +2 -3
- package/fesm5/maplander-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2954,7 +2954,7 @@
|
|
|
2954
2954
|
* @return {?}
|
|
2955
2955
|
*/
|
|
2956
2956
|
function (index) {
|
|
2957
|
-
this._lastState = this.filter.state;
|
|
2957
|
+
this._lastState = Object.assign(this.filter.state, null);
|
|
2958
2958
|
this.resetFilters(index);
|
|
2959
2959
|
this.applyAmenities();
|
|
2960
2960
|
this.filter.type = this.propertyTypeSelected.value;
|
|
@@ -2981,7 +2981,7 @@
|
|
|
2981
2981
|
* @return {?}
|
|
2982
2982
|
*/
|
|
2983
2983
|
function (ev) {
|
|
2984
|
-
this._lastState = this.filter.state;
|
|
2984
|
+
this._lastState = Object.assign(this.filter.state, null);
|
|
2985
2985
|
this.filter.locationType = 'STATE';
|
|
2986
2986
|
this.filter.state = null;
|
|
2987
2987
|
this.filter.municipality = null;
|
|
@@ -3134,7 +3134,6 @@
|
|
|
3134
3134
|
* @return {?}
|
|
3135
3135
|
*/
|
|
3136
3136
|
function () {
|
|
3137
|
-
this._lastState = this.filter.state || null;
|
|
3138
3137
|
this.filtersForm.patchValue({
|
|
3139
3138
|
state: this.filter.state,
|
|
3140
3139
|
offering: this.filter.offering,
|