diff --git a/src/components/DeckBuilder/CardPicker.vue b/src/components/DeckBuilder/CardPicker.vue index 1d262c7..90dc017 100644 --- a/src/components/DeckBuilder/CardPicker.vue +++ b/src/components/DeckBuilder/CardPicker.vue @@ -69,7 +69,7 @@ export default class CardPicker extends Vue { private _picked(card: CardSlot) { if (this.isAvailable(card)) { - this.$emit("picked", card); + this.$emit("picked", card.data); } } diff --git a/src/components/DeckBuilder/DeckList.vue b/src/components/DeckBuilder/DeckList.vue index 179be47..586ef2d 100644 --- a/src/components/DeckBuilder/DeckList.vue +++ b/src/components/DeckBuilder/DeckList.vue @@ -6,6 +6,7 @@ v-for="(card, i) in cards" :key="i" > +