X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=5596e4486b52ebb1d210acffeccf6b5a63247eea;hb=5f918a278904266a2a66a3c8e2a3655f37c2d2a7;hp=354cfa0347087c352f9c7ea29e8a532f5f49414f;hpb=28b32b4fc7c23b1c72bed68e1897576c5be46c3d;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 354cfa03..5596e448 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -9,7 +9,7 @@ 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}" ) @@ -28,6 +28,7 @@ div