projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental change: options replacing randomness (more general)
[vchess.git]
/
client
/
src
/
components
/
GameList.vue
diff --git
a/client/src/components/GameList.vue
b/client/src/components/GameList.vue
index
5596e44
..
ed6b99f
100644
(file)
--- a/
client/src/components/GameList.vue
+++ b/
client/src/components/GameList.vue
@@
-13,7
+13,7
@@
div
@click="$emit('show-game',g)"
:class="{'my-turn': !!g.myTurn}"
)
@click="$emit('show-game',g)"
:class="{'my-turn': !!g.myTurn}"
)
- td {{ g.vname }}
+ td {{ g.vname
+ '-' + g.options.abridged
}}
td {{ player_s(g) }}
td(v-if="showCadence") {{ g.cadence }}
td(
td {{ player_s(g) }}
td(v-if="showCadence") {{ g.cadence }}
td(
@@
-64,8
+64,9
@@
export default {
if (
this.st.user.sid == g.players[0].sid ||
this.st.user.id == g.players[0].id
if (
this.st.user.sid == g.players[0].sid ||
this.st.user.id == g.players[0].id
- )
+ )
{
return g.players[1].name || "@nonymous";
return g.players[1].name || "@nonymous";
+ }
return g.players[0].name || "@nonymous";
},
sortedGames: function() {
return g.players[0].name || "@nonymous";
},
sortedGames: function() {