diff --git a/frontend/src/components/Chooser.vue b/frontend/src/components/Chooser.vue index 6020be4..8cf8422 100644 --- a/frontend/src/components/Chooser.vue +++ b/frontend/src/components/Chooser.vue @@ -87,7 +87,7 @@ export default { if (this.realCancelText == '') { this.realCancelText = this.$t('cancel') } - if (this.cards.length == 1) { + if (this.cards && this.cards.length == 1) { this.showDesc(this.cards[0]) } if (this.playAudio) {