projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes. TODO: game.mode must be analyze when score is not '*' ==> simplify Board...
[vchess.git]
/
client
/
src
/
components
/
ChallengeList.vue
diff --git
a/client/src/components/ChallengeList.vue
b/client/src/components/ChallengeList.vue
index
8500515
..
c7df2dd
100644
(file)
--- a/
client/src/components/ChallengeList.vue
+++ b/
client/src/components/ChallengeList.vue
@@
-10,7
+10,7
@@
table
td {{ c.from.name }}
td(v-if="!!c.to[0]")
span(v-for="pname in c.to") {{ pname }}
td {{ c.from.name }}
td(v-if="!!c.to[0]")
span(v-for="pname in c.to") {{ pname }}
- td(v-else) {{ c.to.length
- 1 }} player{{ c.to.length >= 3
? 's' : '' }}
+ td(v-else) {{ c.to.length
}} player{{ c.to.length >= 2
? 's' : '' }}
td {{ c.timeControl }}
</template>
td {{ c.timeControl }}
</template>