From: Benjamin Auder Date: Mon, 2 Mar 2020 01:35:49 +0000 (+0100) Subject: Show 'resize board' button even in no-information variants X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/css/static/doc/assets/rpsls.css?a=commitdiff_plain;h=658c47bf5843fb0855659f22f7b1c38318c66ce5;p=vchess.git Show 'resize board' button even in no-information variants --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 85007395..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" diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index b3ca667c..f41e7e2e 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -21,7 +21,7 @@ div #scoreInfo(v-if="score!='*'") p {{ score }} p {{ st.tr[message] }} - .moves-list + .moves-list(v-if="show != 'none'") .tr(v-for="moveIdx in evenNumbers") .td {{ firstNum + moveIdx / 2 + 1 }} .td(v-if="moveIdx < moves.length-1 || show == 'all'"