@firestitch/filter 12.1.1 → 12.1.2

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.
@@ -2554,7 +2554,10 @@
2554
2554
  PersistanceParamsController.prototype.restore = function () {
2555
2555
  _super.prototype.restore.call(this);
2556
2556
  if (this._value) {
2557
- this._value.data = restoreItems(this._value.data, [this._itemsStore.items, this._itemsStore.sortByItem, this._itemsStore.sortDirectionItem], this._paramsCase);
2557
+ this._value.data = restoreItems(this._value.data, __spreadArray(__spreadArray([], __read(this._itemsStore.items)), [
2558
+ this._itemsStore.sortByItem,
2559
+ this._itemsStore.sortDirectionItem,
2560
+ ]), this._paramsCase);
2558
2561
  }
2559
2562
  };
2560
2563
  return PersistanceParamsController;
@@ -2615,7 +2618,10 @@
2615
2618
  * Parse query and update filter values
2616
2619
  */
2617
2620
  QueryParamsController.prototype.fetchFromQueryParams = function () {
2618
- this._fetchedParams = restoreItems(this._route.snapshot.queryParams, [this._itemsStore.items, this._itemsStore.sortByItem, this._itemsStore.sortDirectionItem], this._paramsCase);
2621
+ this._fetchedParams = restoreItems(this._route.snapshot.queryParams, __spreadArray(__spreadArray([], __read(this._itemsStore.items)), [
2622
+ this._itemsStore.sortByItem,
2623
+ this._itemsStore.sortDirectionItem,
2624
+ ]), this._paramsCase);
2619
2625
  };
2620
2626
  return QueryParamsController;
2621
2627
  }());