@dcrackel/hematournamentui 1.0.109 → 1.0.110
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.
|
@@ -31620,11 +31620,11 @@ const ZO = /* @__PURE__ */ ye(qO, [["render", YO]]), GO = {
|
|
|
31620
31620
|
handleSubmitBout(n) {
|
|
31621
31621
|
this.showEditBoutModal = !1, this.showDirectorModal = !1;
|
|
31622
31622
|
const e = this.bouts.find((t) => t.BoutId === n.BoutId);
|
|
31623
|
-
|
|
31623
|
+
Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), this.$emit("submit:bout", e);
|
|
31624
31624
|
},
|
|
31625
31625
|
directBout(n) {
|
|
31626
31626
|
const e = this.bouts.find((t) => t.BoutId === n.BoutId);
|
|
31627
|
-
e && (e.Status = "Active", this.showDirectorModal = !0, this.selectedBout =
|
|
31627
|
+
e && (e.Status = "Active", this.showDirectorModal = !0, this.selectedBout = e);
|
|
31628
31628
|
},
|
|
31629
31629
|
editBout(n) {
|
|
31630
31630
|
this.bouts.find((t) => t.BoutId === n.BoutId) && (this.showEditBoutModal = !0, this.selectedBout = n);
|