@dcrackel/hematournamentui 1.0.371 → 1.0.373
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.
|
@@ -36140,7 +36140,7 @@ const wL = /* @__PURE__ */ ie(mL, [["render", vL], ["__scopeId", "data-v-755be0f
|
|
|
36140
36140
|
},
|
|
36141
36141
|
status: {
|
|
36142
36142
|
type: String,
|
|
36143
|
-
required: !
|
|
36143
|
+
required: !1
|
|
36144
36144
|
},
|
|
36145
36145
|
connectedToServer: {
|
|
36146
36146
|
type: Boolean,
|
|
@@ -36210,7 +36210,7 @@ const wL = /* @__PURE__ */ ie(mL, [["render", vL], ["__scopeId", "data-v-755be0f
|
|
|
36210
36210
|
handleSubmitBout(n) {
|
|
36211
36211
|
this.showEditBoutModal = !1, this.showDirectorModal = !1;
|
|
36212
36212
|
let e = this.activeBouts.find((t) => t.BoutId === n.BoutId) || { ...n, score1: n.score1 ?? 0, score2: n.score2 ?? 0 };
|
|
36213
|
-
e.score1 = n.score1 ?? e.score1, e.score2 = n.score2 ?? e.score2, Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), console.log(`Score1 ${n.Score1}`), console.log(`Score2 ${n.Score2}`),
|
|
36213
|
+
e.score1 = n.score1 ?? e.score1, e.score2 = n.score2 ?? e.score2, Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), console.log(`Score1 ${n.Score1}`), console.log(`Score2 ${n.Score2}`), this.$emit("submit:bout", e);
|
|
36214
36214
|
},
|
|
36215
36215
|
directBout(n) {
|
|
36216
36216
|
n.Person1.PersonId === 0 || n.Person2.PersonId === 0 || (n.Status = "Active", this.showDirectorModal = !0, this.selectedBout = n, this.$emit("update:directing-bout", n));
|