@dcrackel/hematournamentui 1.0.508 → 1.0.509
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.
|
@@ -35263,7 +35263,7 @@ const Vp = /* @__PURE__ */ se(AL, [["render", lL]]), cL = {
|
|
|
35263
35263
|
},
|
|
35264
35264
|
preparePenalty(t, e) {
|
|
35265
35265
|
const n = t.penalty;
|
|
35266
|
-
return e ? (this.localBout.Person1.EventPersons[0].LastNote = n.Notes, n.PersonId = this.localBout.Person1Id) : (this.localBout.Person2.EventPersons[0].LastNote = n.Notes, n.PersonId = this.localBout.Person2Id
|
|
35266
|
+
return n.BoutId = this.localBout.BoutId, n.EventId = this.localBout.EventId, e ? (this.localBout.Person1.EventPersons[0].LastNote = n.Notes, n.PersonId = this.localBout.Person1Id, this.localBout.Person1.Penalties.push(n)) : (this.localBout.Person2.EventPersons[0].LastNote = n.Notes, n.PersonId = this.localBout.Person2Id, this.localBout.Person2.Penalties.push(n)), n;
|
|
35267
35267
|
},
|
|
35268
35268
|
handleUpdatePenalty(t) {
|
|
35269
35269
|
const e = this.preparePenalty(t, t.fencer1);
|