@maplander/components 0.21.35 → 0.21.37
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
|
@@ -2942,7 +2942,7 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
2942
2942
|
* @return {?}
|
|
2943
2943
|
*/
|
|
2944
2944
|
function (index) {
|
|
2945
|
-
this._lastState = this.filter.state;
|
|
2945
|
+
this._lastState = Object.assign([], this.filter.state);
|
|
2946
2946
|
this.resetFilters(index);
|
|
2947
2947
|
this.applyAmenities();
|
|
2948
2948
|
this.filter.type = this.propertyTypeSelected.value;
|
|
@@ -2969,7 +2969,7 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
2969
2969
|
* @return {?}
|
|
2970
2970
|
*/
|
|
2971
2971
|
function (ev) {
|
|
2972
|
-
this._lastState = this.filter.state;
|
|
2972
|
+
this._lastState = Object.assign([], this.filter.state);
|
|
2973
2973
|
this.filter.locationType = 'STATE';
|
|
2974
2974
|
this.filter.state = null;
|
|
2975
2975
|
this.filter.municipality = null;
|
|
@@ -3122,7 +3122,6 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
3122
3122
|
* @return {?}
|
|
3123
3123
|
*/
|
|
3124
3124
|
function () {
|
|
3125
|
-
this._lastState = this.filter.state || null;
|
|
3126
3125
|
this.filtersForm.patchValue({
|
|
3127
3126
|
state: this.filter.state,
|
|
3128
3127
|
offering: this.filter.offering,
|