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