@dcrackel/hematournamentui 1.0.365 → 1.0.367
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.
package/package.json
CHANGED
|
@@ -53,7 +53,6 @@ export default {
|
|
|
53
53
|
return this.localBout.Pool.RingName || 'Ring';
|
|
54
54
|
},
|
|
55
55
|
showPassesBox() {
|
|
56
|
-
console.log(this.eventRules)
|
|
57
56
|
return this.eventRules.some(rule => rule.Rules.RuleName === "PoolNumOfPasses") || this.eventRules.some(rule => rule.Rules.RuleName === "DENumOfPasses");
|
|
58
57
|
},
|
|
59
58
|
showTimerBox() {
|
|
@@ -68,7 +67,6 @@ export default {
|
|
|
68
67
|
return rule ? parseInt(rule.RuleValue) : 90;
|
|
69
68
|
},
|
|
70
69
|
maxPoints() {
|
|
71
|
-
console.log(this.eventRules);
|
|
72
70
|
if (this.localBout.DEBoutId) {
|
|
73
71
|
const rule = this.eventRules.find(rule => rule.Rules.RuleName === "DEMaxPoints");
|
|
74
72
|
return rule ? parseInt(rule.RuleValue) : 7;
|
|
@@ -177,12 +177,13 @@ export default {
|
|
|
177
177
|
handleSubmitBout(bout) {
|
|
178
178
|
this.showEditBoutModal = false;
|
|
179
179
|
this.showDirectorModal = false;
|
|
180
|
-
const updatedBout = this.
|
|
180
|
+
const updatedBout = this.activeBouts.find(b => b.BoutId === bout.BoutId);
|
|
181
181
|
|
|
182
182
|
Object.assign(updatedBout, bout);
|
|
183
183
|
updatedBout.Status = 'Completed';
|
|
184
184
|
updatedBout.Ended = new Date().toISOString();
|
|
185
185
|
|
|
186
|
+
console.log('Bracket SUBMIT BOUT',updatedBout);
|
|
186
187
|
this.$emit('submit:bout', updatedBout);
|
|
187
188
|
},
|
|
188
189
|
directBout(bout) {
|