@dcrackel/hematournamentui 1.0.430 → 1.0.431

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.
@@ -35879,8 +35879,8 @@ const TL = /* @__PURE__ */ ie(vL, [["render", OL]]), RL = {
35879
35879
  },
35880
35880
  computed: {
35881
35881
  rules() {
35882
- var n;
35883
- return ((n = this.event) == null ? void 0 : n.EventRules) || [];
35882
+ var n, e;
35883
+ return ((n = this.event) == null ? void 0 : n.EventRules) || ((e = this.event) == null ? void 0 : e.eventRules) || [];
35884
35884
  },
35885
35885
  promotedByRule() {
35886
35886
  var e;
@@ -35901,7 +35901,7 @@ const TL = /* @__PURE__ */ ie(vL, [["render", OL]]), RL = {
35901
35901
  let e = this.getNumericValue(n);
35902
35902
  if (this.promotedByRule === "Top") {
35903
35903
  const t = this.rules.find((r) => r.Rules.RuleName === "DENumOfPromotion");
35904
- t && (t.RuleValue++, console.log(t.RuleValue), this.updatePromotions());
35904
+ t && (t.RuleValue++, this.updatePromotions());
35905
35905
  return;
35906
35906
  }
35907
35907
  if (e === 100) {
@@ -35934,8 +35934,8 @@ const TL = /* @__PURE__ */ ie(vL, [["render", OL]]), RL = {
35934
35934
  },
35935
35935
  updatePromotions(n = parseInt(this.promoted, 10) || 2) {
35936
35936
  const e = this.groupFencersByPool(this.poolResults);
35937
- Object.entries(e).forEach(([t]) => {
35938
- this.sortFencersByCriteria(t), this.markTopFencers(t, n);
35937
+ Object.entries(e).forEach(([t, r]) => {
35938
+ this.sortFencersByCriteria(r), this.markTopFencers(r, n);
35939
35939
  }), console.log("Final Pool Results After Promotion:", this.poolResults);
35940
35940
  },
35941
35941
  groupFencersByPool(n) {