X-Git-Url: https://git.auder.net/doc/screen_ranking.png?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=8c1f2dd56c4e0beafc33ee2dc3edda9910c4adba;hb=afbf3ca7151ef15a9e579b0f913683ab212396c4;hp=7572ede11e5659d4bb90abea53ebd766b509a24b;hpb=7ba4a5bc5b64e19a1e7f26aa232d5c50770d07ad;p=vchess.git
diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue
index 7572ede1..8c1f2dd5 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'!"] }}