X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=6a67400dd17f7f3071df507778bff92b664ef6a8;hb=f21cd6d9c23da37d729f20ea4c08e56b1a7b10a1;hp=b10be754516a711a2fe2482ff179ce2d010ea6af;hpb=9330b976e02148bb89e11819070d5d818e82e522;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index b10be754..6a67400d 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -12,26 +12,24 @@ BaseGame(:game="game" :vr="vr" ref="basegame" @newmove="processMove" @gameover="gameOver") div Names: {{ game.players[0].name }} - {{ game.players[1].name }} - div Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }} + div(v-if="game.score=='*'") Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }} .button-group(v-if="game.mode!='analyze' && game.score=='*'") button(@click="offerDraw") Draw button(@click="() => abortGame()") Abort button(@click="resign") Resign textarea(v-if="game.score=='*'" v-model="corrMsg") + Chat(