X-Git-Url: https://git.auder.net/pieces/Cwda/n_black_bishop.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=703ba18491bd2a63f2ef3c7000df8741bb241933;hb=4222cf78d2c3cf1461f3c775e4e55a30938032bc;hp=b39e7d2cb5cf5cd5a67c0786fa06b7d70b22bb11;hpb=407342b67c1e7a72f2ac1cfb176440bb138ffdfb;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index b39e7d2c..703ba184 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -89,7 +89,7 @@ main ) img(src="/images/icons/resign.svg") button.tooltip( - v-else-if="!!game.mycolor" + v-else @click="clickRematch()" :class="{['rematch-' + rematchOffer]: true}" :aria-label="st.tr['Rematch']" @@ -757,7 +757,7 @@ export default { drawSent: this.drawOffer == "sent", rematchSent: this.rematchOffer == "sent", score: this.game.score, - score: this.game.scoreMsg, + scoreMsg: this.game.scoreMsg, movesCount: L, initime: this.game.initime[1 - myIdx] //relevant only if I played };