@annalib/anna-core 35.3.7 → 35.3.8

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.
@@ -1660,13 +1660,13 @@ class AnnaSortService {
1660
1660
  "flightEndDate",
1661
1661
  "date",
1662
1662
  "GeneratedOn",
1663
- "AirDate"
1663
+ "AirDate",
1664
1664
  ]);
1665
1665
  }
1666
1666
  sortDataForComponentOtherThanLurAndCsrPage(isAsc, data, key) {
1667
1667
  let param1;
1668
1668
  let param2;
1669
- let dataToBeSorted = cloneDeep(data);
1669
+ let dataToBeSorted = data;
1670
1670
  if (this.dateSet.has(key)) {
1671
1671
  dataToBeSorted.sort((a, b) => this.annaDateTimeFormatService.compareDate(a[key], b[key], isAsc));
1672
1672
  }
@@ -1791,17 +1791,17 @@ class AnnaSortService {
1791
1791
  applySorting(key, tempSortOrder, tableData, isLurAndCsrComponent) {
1792
1792
  let sortedTableData = tableData;
1793
1793
  if (tempSortOrder === "ASC") {
1794
- sortedTableData = cloneDeep(isLurAndCsrComponent
1794
+ sortedTableData = isLurAndCsrComponent
1795
1795
  ? this.sortEnterEditLurAndCsrPage(true, tableData, key)
1796
- : this.sortDataForComponentOtherThanLurAndCsrPage(true, tableData, key));
1796
+ : this.sortDataForComponentOtherThanLurAndCsrPage(true, tableData, key);
1797
1797
  }
1798
1798
  else if (tempSortOrder === "DESC") {
1799
- sortedTableData = cloneDeep(isLurAndCsrComponent
1799
+ sortedTableData = isLurAndCsrComponent
1800
1800
  ? this.sortEnterEditLurAndCsrPage(false, tableData, key)
1801
- : this.sortDataForComponentOtherThanLurAndCsrPage(false, tableData, key));
1801
+ : this.sortDataForComponentOtherThanLurAndCsrPage(false, tableData, key);
1802
1802
  }
1803
1803
  else if (tempSortOrder === "DEFAULT") {
1804
- sortedTableData = cloneDeep(this.noSortingAppliedData);
1804
+ sortedTableData = this.noSortingAppliedData;
1805
1805
  }
1806
1806
  return sortedTableData;
1807
1807
  }