From b9e0d096ba107c55234d2a5ba720c9ddc53a8a28 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 10 Sep 2019 14:47:53 +0200 Subject: [PATCH] Fix picked event --- src/components/DeckBuilder/CardPicker.vue | 2 +- src/components/DeckBuilder/DeckList.vue | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/components/DeckBuilder/CardPicker.vue b/src/components/DeckBuilder/CardPicker.vue index 886b183..3d4534b 100644 --- a/src/components/DeckBuilder/CardPicker.vue +++ b/src/components/DeckBuilder/CardPicker.vue @@ -54,7 +54,7 @@ export default class CardPicker extends Vue { return cardImageURL(id); } - private picked(card: Card) { + private _picked(card: Card) { this.$emit("picked", card); } } diff --git a/src/components/DeckBuilder/DeckList.vue b/src/components/DeckBuilder/DeckList.vue index 5da4572..1f041c4 100644 --- a/src/components/DeckBuilder/DeckList.vue +++ b/src/components/DeckBuilder/DeckList.vue @@ -10,6 +10,21 @@