X-Git-Url: https://git.auder.net/pieces/Cwda/n_black_rook.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=aa361fb323678f1762ccddc67c33b9135a6c9966;hb=1c9826a545b4336ede227c132d7ccfdba70c4ec0;hp=39ad9bf2375a0eec596caeccbe414a54b08ac9cc;hpb=db1f1f9adb920605c7a16b060a7737e54636ee08;p=vchess.git
diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue
index 39ad9bf2..aa361fb3 100644
--- a/client/src/components/GameList.vue
+++ b/client/src/components/GameList.vue
@@ -1,6 +1,6 @@
div
- table.game-list
+ table.game-list(v-if="games.length > 0")
thead
tr
th {{ st.tr["Variant"] }}
@@ -21,6 +21,8 @@ div
@click="deleteGame(g,$event)"
)
| {{ g.score }}
+ p(v-else)
+ | {{ st.tr["No games found :( Send a challenge!"] }}