projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some (experimental) fixes
[vchess.git]
/
client
/
src
/
components
/
GameList.vue
diff --git
a/client/src/components/GameList.vue
b/client/src/components/GameList.vue
index
d81a1de
..
a8c0dab
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(
@@
-115,6
+115,8
@@
export default {
},
deleteGame: function(game, e) {
if (
},
deleteGame: function(game, e) {
if (
+ // Import ?
+ (typeof game.id == "string" && game.id.charAt(0) == 'i') ||
// My game ?
game.players.some(p =>
p.sid == this.st.user.sid || p.id == this.st.user.id
// My game ?
game.players.some(p =>
p.sid == this.st.user.sid || p.id == this.st.user.id