@dcrackel/hematournamentui 1.0.201 → 1.0.202
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.
|
@@ -10829,11 +10829,10 @@ const Hv = /* @__PURE__ */ ae(Rv, [["render", Lv]]), zv = {
|
|
|
10829
10829
|
break;
|
|
10830
10830
|
case "Past":
|
|
10831
10831
|
n = n.filter((t) => new Date(t.date) < e);
|
|
10832
|
-
break;
|
|
10833
10832
|
}
|
|
10834
10833
|
switch (this.sortCriteria) {
|
|
10835
10834
|
case "Date":
|
|
10836
|
-
n = [...n].sort((t, r) => new Date(
|
|
10835
|
+
n = [...n].sort((t, r) => new Date(r.StartDate) - new Date(t.StartDate));
|
|
10837
10836
|
break;
|
|
10838
10837
|
case "Name":
|
|
10839
10838
|
n = [...n].sort((t, r) => t.Name.localeCompare(r.Name));
|