diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-14 04:37:20 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-14 04:37:20 +0900 |
| commit | 0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37 (patch) | |
| tree | d409c4dd48f0e75afd26e9865e6f9bdcb92b8bec /src/web/app/common/views/components | |
| parent | :v: (diff) | |
| download | sharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.tar.gz sharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.tar.bz2 sharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.zip | |
:v:
Diffstat (limited to 'src/web/app/common/views/components')
| -rw-r--r-- | src/web/app/common/views/components/othello.game.vue | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |