- h3 Online players
- .player(v-for="p in uniquePlayers" @click="tryChallenge(p)"
- :class="{anonymous: !!p.count}"
- )
- | {{ p.name + (!!p.count ? " ("+p.count+")" : "") }}
+ p(v-for="p in uniquePlayers")
+ span(:class="{anonymous: !!p.count}")
+ | {{ (p.name || '@nonymous') + (!!p.count ? " ("+p.count+")" : "") }}
+ button.player-action(v-if="!p.count && p.name != st.user.name"
+ @click="challOrWatch(p,$event)")
+ | {{ whatPlayerDoes(p) }}