div
table(v-if="challenges.length > 0")
thead
tr
th {{ st.tr["Variant"] }}
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)"
)
td {{ c.vname }}
td {{ withWho(c) }}
td {{ c.cadence }}
td(:class="getRandomnessClass(c)")
p(v-else)
| {{ st.tr["No challenges found :( Click on 'New game'!"] }}