@dcrackel/hematournamentui 1.0.214 → 1.0.216
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.
- package/dist/HemaTournamentUI-lib.es.js +4 -4
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/package.json +1 -1
- package/src/stories/Organisms/Containers/Pool/Pool.vue +2 -2
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +3 -0
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.vue +3 -6
|
@@ -31119,7 +31119,7 @@ const CP = /* @__PURE__ */ ae(lP, [["render", pP]]), IP = {
|
|
|
31119
31119
|
computed: {
|
|
31120
31120
|
sortedPersons() {
|
|
31121
31121
|
const n = this.localSelectedItem.link;
|
|
31122
|
-
return this.personsInTournament.slice().sort((e, t) => {
|
|
31122
|
+
return !Array.isArray(this.personsInTournament) || this.personsInTournament.length === 0 ? [] : this.personsInTournament.slice().sort((e, t) => {
|
|
31123
31123
|
switch (n) {
|
|
31124
31124
|
case "Seed":
|
|
31125
31125
|
const r = e.PoolPosition ? e.PoolPosition : 0, i = t.PoolPosition ? t.PoolPosition : 0;
|
|
@@ -31611,7 +31611,7 @@ const nR = /* @__PURE__ */ ae(WP, [["render", tR]]), rR = {
|
|
|
31611
31611
|
this.$emit("remove:fencer", n);
|
|
31612
31612
|
},
|
|
31613
31613
|
handleSelectPool() {
|
|
31614
|
-
this.mode === "live" && this.$emit("select:pool", this.poolId);
|
|
31614
|
+
this.mode.toLocaleLowerCase() === "live" && this.$emit("select:pool", parseInt(this.poolId));
|
|
31615
31615
|
}
|
|
31616
31616
|
}
|
|
31617
31617
|
}, iR = { class: "flex flex-row justify-between mb-2" }, oR = { class: "text-xl font-bold mb-2 flex" }, sR = {
|
|
@@ -31817,7 +31817,7 @@ const dR = /* @__PURE__ */ ae(rR, [["render", uR]]), gR = {
|
|
|
31817
31817
|
return e && e.Person ? e.Person.DisplayName : "Unassigned";
|
|
31818
31818
|
},
|
|
31819
31819
|
swapFencers({ draggedPerson: n }) {
|
|
31820
|
-
|
|
31820
|
+
this.$emit("update:swapFencers", { draggedPerson: n });
|
|
31821
31821
|
},
|
|
31822
31822
|
setDirector(n) {
|
|
31823
31823
|
this.$emit("update:director", n);
|
|
@@ -31826,7 +31826,7 @@ const dR = /* @__PURE__ */ ae(rR, [["render", uR]]), gR = {
|
|
|
31826
31826
|
this.$emit("remove:fencer", n);
|
|
31827
31827
|
},
|
|
31828
31828
|
handleSelectPool(n) {
|
|
31829
|
-
this.$emit("select:pool", n);
|
|
31829
|
+
console.log(n), this.$emit("select:pool", parseInt(n));
|
|
31830
31830
|
}
|
|
31831
31831
|
}
|
|
31832
31832
|
}, hR = {
|