X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=ed75c00309fdde942bc49f4aeff7327a15bb8439;hb=658c47bf5843fb0855659f22f7b1c38318c66ce5;hp=9783c71fd88e05b9cb68557674df5a7c4d8fc94d;hpb=db1f1f9adb920605c7a16b060a7737e54636ee08;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 9783c71f..ed75c003 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -45,7 +45,6 @@ div#baseGame | {{ st.tr["Rules"] }} #movesList MoveList( - v-if="showMoves != 'none'" :show="showMoves" :score="game.score" :message="game.scoreMsg" @@ -368,8 +367,9 @@ export default { const message = getScoreMessage(score); if (!navigate && this.game.mode != "analyze") this.$emit("gameover", score, message); - // Just show score on screen (allow undo) - else this.showEndgameMsg(score + " . " + this.st.tr[message]); + else if (this.game.mode == "analyze") + // Just show score on screen (allow undo) + this.showEndgameMsg(score + " . " + this.st.tr[message]); } if (!navigate && this.game.mode != "analyze") { const L = this.moves.length;