X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d81a1de7036b9c9c5328da7fc3441be216d6ac91;hb=5b18515f0b7dbfab8a2770d9b0fc7aace09267dc;hp=354cfa0347087c352f9c7ea29e8a532f5f49414f;hpb=28b32b4fc7c23b1c72bed68e1897576c5be46c3d;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 354cfa03..d81a1de7 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