- tr(v-for="c in sortedChallenges" @click="$emit('click-challenge',c)")
- td(data-label="Variant") {{ c.vname }}
- td(data-label="From") {{ c.from.name || "@nonymous" }}
- td(data-label="To") {{ c.to }}
- td(data-label="Cadence") {{ c.cadence }}
+ 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 {{ c.cadence }}