X-Git-Url: https://git.auder.net/variants/Checkered/style.css?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=8c1f2dd56c4e0beafc33ee2dc3edda9910c4adba;hb=3c18611517fa137f089cbd866cbc8d3f4cc07735;hp=5a3db5c569e77d8dff65b4ceb7242b6156f48998;hpb=8f4e861c970b09783b101a767f642f4afd94f90b;p=vchess.git
diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue
index 5a3db5c5..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'!"] }}