X-Git-Url: https://git.auder.net/pieces/Checkered/cb.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=1107b58ce023c9207e1555f64e51c38eb0ce859a;hb=659a9bd22c88177e203207a406cdb6c9f69139d4;hp=7572ede11e5659d4bb90abea53ebd766b509a24b;hpb=7ba4a5bc5b64e19a1e7f26aa232d5c50770d07ad;p=vchess.git
diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue
index 7572ede1..1107b58c 100644
--- a/client/src/components/ChallengeList.vue
+++ b/client/src/components/ChallengeList.vue
@@ -1,6 +1,6 @@
div
- table
+ table(v-if="challenges.length > 0")
thead
tr
th {{ st.tr["Variant"] }}
@@ -17,6 +17,8 @@ div
td {{ withWho(c) }}
td {{ c.cadence }}
td(:class="getRandomnessClass(c)")
+ p(v-else)
+ | {{ st.tr["No challenges found :( Click on 'New game'!"] }}