Skip to content

Commit

Permalink
Show notification on invalid tag type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicou committed Jun 25, 2024
1 parent e6dc774 commit 1de6eaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/GameScanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export default {
}
this.startGame()
} else {
console.error(`Unknown tag: '${this.tag}`)
console.warn(`Not a game tag: '${this.tag}`);
this.$ons.notification.toast('This is not an engineering task', { timeout: 2500, animation: 'fall' })
}
},
async startGame() {
Expand Down

0 comments on commit 1de6eaa

Please sign in to comment.