@tetacom/ng-components 1.0.54 → 1.0.55

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.
@@ -7917,13 +7917,13 @@ class TableUtil {
7917
7917
  return null;
7918
7918
  }
7919
7919
  static getData(data, state) {
7920
- let result = data;
7920
+ let result = [...data];
7921
7921
  result = TableUtil.filterData(result, state);
7922
7922
  result = TableUtil.sortData(result, state);
7923
7923
  return result;
7924
7924
  }
7925
7925
  static sortData(data, state) {
7926
- let result = data;
7926
+ let result = [...data];
7927
7927
  const func = (sortParam) => {
7928
7928
  result = TableUtil.sort(result, sortParam);
7929
7929
  };
@@ -7933,7 +7933,7 @@ class TableUtil {
7933
7933
  return result;
7934
7934
  }
7935
7935
  static filterData(data, state) {
7936
- let result = data;
7936
+ let result = [...data];
7937
7937
  if (state?.stringFilters?.length) {
7938
7938
  const stringFilter = (filter) => {
7939
7939
  result = TableUtil.filterString(result, filter);