X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=5596e4486b52ebb1d210acffeccf6b5a63247eea;hb=5f918a278904266a2a66a3c8e2a3655f37c2d2a7;hp=5396d13c45e3c0878051b4f63bea186ebe0426bd;hpb=b265313e42e5aa48fe86b2a1c66241bde4deb4fb;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 5396d13c..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