div
table(v-if="challenges.length > 0")
thead
tr
th {{ st.tr["Variant"] }}
th {{ st.tr["With"] }}
th {{ st.tr["Cadence"] }}
th {{ st.tr["Options"] }}
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)") {{ c.options.abridged || '' }}
p(v-else)
| {{ st.tr["No challenges found :( Click on 'New game'!"] }}