@dcrackel/hematournamentui 1.0.365 → 1.0.366
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.
|
@@ -33646,7 +33646,7 @@ const Fz = /* @__PURE__ */ ie(wz, [["render", zz]]), Pz = {
|
|
|
33646
33646
|
return this.localBout.Pool.RingName || "Ring";
|
|
33647
33647
|
},
|
|
33648
33648
|
showPassesBox() {
|
|
33649
|
-
return
|
|
33649
|
+
return this.eventRules.some((n) => n.Rules.RuleName === "PoolNumOfPasses") || this.eventRules.some((n) => n.Rules.RuleName === "DENumOfPasses");
|
|
33650
33650
|
},
|
|
33651
33651
|
showTimerBox() {
|
|
33652
33652
|
return this.eventRules.some((n) => n.Rules.RuleName === "PoolTime") || this.eventRules.some((n) => n.Rules.RuleName === "DETime");
|
|
@@ -33660,7 +33660,7 @@ const Fz = /* @__PURE__ */ ie(wz, [["render", zz]]), Pz = {
|
|
|
33660
33660
|
return n ? parseInt(n.RuleValue) : 90;
|
|
33661
33661
|
},
|
|
33662
33662
|
maxPoints() {
|
|
33663
|
-
if (
|
|
33663
|
+
if (this.localBout.DEBoutId) {
|
|
33664
33664
|
const e = this.eventRules.find((t) => t.Rules.RuleName === "DEMaxPoints");
|
|
33665
33665
|
return e ? parseInt(e.RuleValue) : 7;
|
|
33666
33666
|
}
|
|
@@ -36185,7 +36185,7 @@ const vL = /* @__PURE__ */ ie(fL, [["render", QL], ["__scopeId", "data-v-755be0f
|
|
|
36185
36185
|
handleSubmitBout(n) {
|
|
36186
36186
|
this.showEditBoutModal = !1, this.showDirectorModal = !1;
|
|
36187
36187
|
const e = this.boutsData.find((t) => t.BoutId === n.BoutId);
|
|
36188
|
-
Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), this.$emit("submit:bout", e);
|
|
36188
|
+
Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), console.log(e), this.$emit("submit:bout", e);
|
|
36189
36189
|
},
|
|
36190
36190
|
directBout(n) {
|
|
36191
36191
|
n.Person1.PersonId === 0 || n.Person2.PersonId === 0 || (n.Status = "Active", this.showDirectorModal = !0, this.selectedBout = n, this.$emit("update:directing-bout", n));
|