@dcrackel/hematournamentui 1.0.548 → 1.0.549

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.
@@ -11152,9 +11152,10 @@ const Hv = /* @__PURE__ */ se(Pv, [["render", Nv]]), qv = {
11152
11152
  }
11153
11153
  },
11154
11154
  applySorting(t) {
11155
+ if (this.selectedTimeFrame === "Default") return t;
11155
11156
  switch (this.sortCriteria) {
11156
11157
  case "Date":
11157
- return [...t].sort((e, n) => new Date(n.StartDate) - new Date(e.StartDate));
11158
+ return [...t].sort((e, n) => new Date(e.StartDate) - new Date(n.StartDate));
11158
11159
  case "Name":
11159
11160
  return [...t].sort((e, n) => e.Name.localeCompare(n.Name));
11160
11161
  case "Location":