projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some changes to the logic in Rules.vue: weird behavior, TODO
[vchess.git]
/
client
/
src
/
components
/
ChallengeList.vue
diff --git
a/client/src/components/ChallengeList.vue
b/client/src/components/ChallengeList.vue
index
c7df2dd
..
bee328f
100644
(file)
--- a/
client/src/components/ChallengeList.vue
+++ b/
client/src/components/ChallengeList.vue
@@
-8,9
+8,7
@@
table
tr(v-for="c in challenges" @click="$emit('click-challenge',c)")
td {{ c.vname }}
td {{ c.from.name }}
tr(v-for="c in challenges" @click="$emit('click-challenge',c)")
td {{ c.vname }}
td {{ c.from.name }}
- td(v-if="!!c.to[0]")
- span(v-for="pname in c.to") {{ pname }}
- td(v-else) {{ c.to.length }} player{{ c.to.length >= 2 ? 's' : '' }}
+ td {{ c.to }}
td {{ c.timeControl }}
</template>
td {{ c.timeControl }}
</template>