@dcrackel/hematournamentui 1.0.264 → 1.0.265
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.
|
@@ -34389,8 +34389,9 @@ const ff = /* @__PURE__ */ ie(wN, [["render", GN], ["__scopeId", "data-v-262bb7e
|
|
|
34389
34389
|
Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), this.$emit("submit:bout", e);
|
|
34390
34390
|
},
|
|
34391
34391
|
directBout(n) {
|
|
34392
|
-
|
|
34393
|
-
|
|
34392
|
+
this.bouts.filter((r) => r.Status === "Active").forEach((r) => r.Status = "Scheduled");
|
|
34393
|
+
const t = this.bouts.find((r) => r.BoutId === n.BoutId);
|
|
34394
|
+
t && (t.Status = "Active", this.showDirectorModal = !0, this.selectedBout = t), this.$emit("update:directing-bout", t);
|
|
34394
34395
|
},
|
|
34395
34396
|
editBout(n) {
|
|
34396
34397
|
this.bouts.find((t) => t.BoutId === n.BoutId) && (this.showEditBoutModal = !0, this.selectedBout = n);
|
|
@@ -34437,8 +34438,9 @@ function lF(n, e, t, r, i, o) {
|
|
|
34437
34438
|
p(l, {
|
|
34438
34439
|
bout: g,
|
|
34439
34440
|
hostingClubColors: t.hostingClubColors,
|
|
34440
|
-
"onAction:startBout": o.directBout
|
|
34441
|
-
|
|
34441
|
+
"onAction:startBout": o.directBout,
|
|
34442
|
+
"onAction:resumeBout": o.directBout
|
|
34443
|
+
}, null, 8, ["bout", "hostingClubColors", "onAction:startBout", "onAction:resumeBout"])
|
|
34442
34444
|
]))), 128))
|
|
34443
34445
|
])
|
|
34444
34446
|
])) : T("", !0),
|