@dcrackel/hematournamentui 1.0.414 → 1.0.415
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.
|
@@ -34235,8 +34235,11 @@ const EP = /* @__PURE__ */ ie(lP, [["render", BP]]), QP = {
|
|
|
34235
34235
|
this.localBout.Started === null && (this.localBout.Started = (/* @__PURE__ */ new Date()).toISOString()), this.showSubmit = this.localBout.Score1 === this.maxPoints || this.localBout.Score2 === this.maxPoints || this.localBout.TimeLeft === 0 || this.localBout.CurrentPass === this.maxPasses - 1, this.$emit("update:bout", this.localBout);
|
|
34236
34236
|
},
|
|
34237
34237
|
setCountingDirection() {
|
|
34238
|
-
|
|
34239
|
-
|
|
34238
|
+
if (Array.isArray(this.eventRules)) {
|
|
34239
|
+
const n = this.eventRules.find((e) => e.Rules.RuleName === "PoolScoreDirection");
|
|
34240
|
+
this.isCountingUp = n ? n.RuleValue : !0;
|
|
34241
|
+
}
|
|
34242
|
+
Array.isArray(this.eventRules) || (this.isCountingUp = !0);
|
|
34240
34243
|
}
|
|
34241
34244
|
}
|
|
34242
34245
|
}, vP = { class: "w-11/12 mt-5 mx-6" };
|