From f976770aaedafe221e2d35dd6ed73f68463d11e4 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Sun, 22 Nov 2020 17:41:36 +0100 Subject: [PATCH] notify when user has to pick --- frontend/src/components/Player.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index c5a7950..183fe9c 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -27,6 +27,7 @@ + @@ -96,6 +97,9 @@ export default { }, }, computed:{ + hasToPickResponse() { + return !this.is_my_turn && this.pending_action == 0 + }, instruction() { if (this.pending_action == null) return ''