@dcrackel/hematournamentui 1.0.249 → 1.0.250
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/dist/HemaTournamentUI-lib.es.js +6 -3
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/package.json +1 -1
- package/src/mocks/getAllWeapons.js +0 -2
- package/src/stories/Organisms/Form/EditEvent/EditEvent.vue +0 -4
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.stories.js +4 -11
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.vue +8 -3
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectElimination/DirectElimination.stories.js +1 -1
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectEliminationPromotion/DirectEliminationPromotion.stories.js +1 -1
- package/src/stories/Organisms/Wizards/EditEventWizard/PoolConfiguration/PoolConfiguration.stories.js +1 -1
- package/src/stories/Templates/EventManagement/EditEventInfo/EditEventInfo.stories.js +5 -7
|
@@ -9778,8 +9778,11 @@ const rA = /* @__PURE__ */ re(zQ, [["render", GQ], ["__scopeId", "data-v-b4f903b
|
|
|
9778
9778
|
},
|
|
9779
9779
|
computed: {
|
|
9780
9780
|
selectedWeapon() {
|
|
9781
|
-
const n = this.weapons.find((e) => e.
|
|
9782
|
-
return n ? n.
|
|
9781
|
+
const n = this.weapons.find((e) => e.Id === this.localEvent.WeaponId);
|
|
9782
|
+
return n ? n.Name : "Select Weapon";
|
|
9783
|
+
},
|
|
9784
|
+
getWeapons() {
|
|
9785
|
+
return this.weapons.map((n) => ({ text: n.Name, link: n.Id }));
|
|
9783
9786
|
}
|
|
9784
9787
|
},
|
|
9785
9788
|
methods: {
|
|
@@ -9904,7 +9907,7 @@ function Av(n, e, t, r, i, o) {
|
|
|
9904
9907
|
}, null, 8, ["invalid"]),
|
|
9905
9908
|
p(c, {
|
|
9906
9909
|
label: o.selectedWeapon,
|
|
9907
|
-
items:
|
|
9910
|
+
items: o.getWeapons,
|
|
9908
9911
|
"selected-item": o.selectedWeapon,
|
|
9909
9912
|
alignEnd: !1,
|
|
9910
9913
|
width: "w-full",
|