diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index 3ddced0..7a319e3 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -358,7 +358,7 @@ export default { let card_data = { index: res, against: against, - with: this.hand.indexOf(this.card_with) > -1 ? this.hand.indexOf(this.card_with):null, + with: this.handComputed.indexOf(this.card_with) > -1 ? this.handComputed.indexOf(this.card_with):null, } this.card_with = null console.log(card_data)