X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=7572ede11e5659d4bb90abea53ebd766b509a24b;hb=7ba4a5bc5b64e19a1e7f26aa232d5c50770d07ad;hp=b3c43e2a803751b0b602e2e085278a01a515d719;hpb=bd76b45611cbb58dcf774745a4d690277a82aacd;p=vchess.git
diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue
index b3c43e2a..7572ede1 100644
--- a/client/src/components/ChallengeList.vue
+++ b/client/src/components/ChallengeList.vue
@@ -4,13 +4,19 @@ div
thead
tr
th {{ st.tr["Variant"] }}
- th {{ st.tr["From"] }}
+ th {{ st.tr["With"] }}
th {{ st.tr["Cadence"] }}
+ th {{ st.tr["Random?"] }}
tbody
- tr(v-for="c in sortedChallenges" :class="{toyou:c.priority==1,fromyou:c.priority==2}" @click="$emit('click-challenge',c)")
+ tr(
+ v-for="c in sortedChallenges"
+ :class="{toyou:c.priority==1,fromyou:c.priority==2}"
+ @click="$emit('click-challenge',c)"
+ )
td {{ c.vname }}
- td {{ c.from.name || "@nonymous" }}
+ td {{ withWho(c) }}
td {{ c.cadence }}
+ td(:class="getRandomnessClass(c)")