@dcrackel/hematournamentui 1.0.248 → 1.0.249

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.
@@ -9778,11 +9778,8 @@ const rA = /* @__PURE__ */ re(zQ, [["render", GQ], ["__scopeId", "data-v-b4f903b
9778
9778
  },
9779
9779
  computed: {
9780
9780
  selectedWeapon() {
9781
- if (Array.isArray(this.weapons)) {
9782
- const n = this.weapons.find((e) => e.link === this.localEvent.WeaponId);
9783
- return n ? n.text : "";
9784
- }
9785
- return "";
9781
+ const n = this.weapons.find((e) => e.link === this.localEvent.WeaponId);
9782
+ return n ? n.text : "";
9786
9783
  }
9787
9784
  },
9788
9785
  methods: {
@@ -35935,7 +35932,20 @@ const OY = /* @__PURE__ */ re(YL, [["render", qL]]), zL = {
35935
35932
  ToggleHeader: Ts,
35936
35933
  EditEventsTopMenu: Qn
35937
35934
  },
35938
- props: {},
35935
+ props: {
35936
+ event: {
35937
+ type: Object,
35938
+ required: !0
35939
+ },
35940
+ weapons: {
35941
+ type: Array,
35942
+ required: !0
35943
+ },
35944
+ rules: {
35945
+ type: Array,
35946
+ required: !0
35947
+ }
35948
+ },
35939
35949
  data() {
35940
35950
  return {
35941
35951
  tabs: [
@@ -35979,10 +35989,10 @@ function jL(n, e, t, r, i, o) {
35979
35989
  }, null, 8, ["currentSelection", "onUpdate:selection"]),
35980
35990
  h("div", UL, [
35981
35991
  p(a, {
35982
- event: "",
35983
- rules: "",
35984
- weapons: ""
35985
- })
35992
+ event: t.event,
35993
+ rules: t.rules,
35994
+ weapons: t.weapons
35995
+ }, null, 8, ["event", "rules", "weapons"])
35986
35996
  ])
35987
35997
  ]);
35988
35998
  }