X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=bc9e883a5fac2df33ca388255b937de180478c3e;hb=02c6ba4f6e6608ba120b121da516a195be3a1042;hp=aa361fb323678f1762ccddc67c33b9135a6c9966;hpb=1c9826a545b4336ede227c132d7ccfdba70c4ec0;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index aa361fb3..bc9e883a 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -9,11 +9,11 @@ div th {{ st.tr["Result"] }} tbody tr( - v-for="g in sortedGames" + v-for="g in sortedGames()" @click="$emit('show-game',g)" - :class="{'my-turn': g.myTurn}" + :class="{'my-turn': !!g.myTurn}" ) - td {{ g.vname }} + td {{ g.vname + (g.options.abridged || '') }} td {{ player_s(g) }} td(v-if="showCadence") {{ g.cadence }} td( @@ -28,6 +28,8 @@ div