From 0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Mar 2018 04:37:20 +0900 Subject: :v: --- src/web/app/common/views/components/othello.game.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'src/web/app/common/views/components') diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 907e317ce9..69b2127760 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -56,6 +56,7 @@ export default Vue.extend({ computed: { iAmPlayer(): boolean { + if (!(this as any).os.isSignedIn) return false; return this.game.user1_id == (this as any).os.i.id || this.game.user2_id == (this as any).os.i.id; }, myColor(): Color { -- cgit v1.2.3-freya