Fix passing games
[vchess.git] / client / src / components / ChallengeList.vue
index c57073c..fd2a901 100644 (file)
@@ -3,14 +3,14 @@ div
   table
     thead
       tr
-        th Variant
-        th From
-        th To
-        th Cadence
+        th {{ st.tr["Variant"] }}
+        th {{ st.tr["From"] }}
+        th {{ st.tr["To"] }}
+        th {{ st.tr["Time control"] }}
     tbody
       tr(v-for="c in sortedChallenges" @click="$emit('click-challenge',c)")
         td(data-label="Variant") {{ c.vname }}
-        td(data-label="From") {{ c.from.name }}
+        td(data-label="From") {{ c.from.name || "@nonymous" }}
         td(data-label="To") {{ c.to }}
         td(data-label="Cadence") {{ c.timeControl }}
 </template>