@dcrackel/hematournamentui 1.0.200 → 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));
|
|
@@ -35082,7 +35081,7 @@ const SL = /* @__PURE__ */ ae(bL, [["render", DL], ["__scopeId", "data-v-fc79053
|
|
|
35082
35081
|
},
|
|
35083
35082
|
computed: {
|
|
35084
35083
|
bracketSize() {
|
|
35085
|
-
return this.bouts[0].RoundLabel ? this.bouts[0].RoundLabel : "";
|
|
35084
|
+
return this.bouts && this.bouts.length > 0 && this.bouts[0].RoundLabel ? this.bouts[0].RoundLabel : "";
|
|
35086
35085
|
},
|
|
35087
35086
|
activeBouts() {
|
|
35088
35087
|
return this.bouts.filter((n) => n.Status === "Active");
|