projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Swap, Switching, pawns variants
[vchess.git]
/
client
/
src
/
views
/
Game.vue
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
171dc6c
..
075919d
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-46,7
+46,7
@@
main
span {{ st.tr["Participant(s):"] }}
span(
v-for="p in Object.values(people)"
span {{ st.tr["Participant(s):"] }}
span(
v-for="p in Object.values(people)"
- v-if="
participateInChat(p)
"
+ v-if="
!!p.name
"
)
| {{ p.name }}
span.anonymous(v-if="someAnonymousPresent()") + @nonymous
)
| {{ p.name }}
span.anonymous(v-if="someAnonymousPresent()") + @nonymous
@@
-321,9
+321,6
@@
export default {
)
);
},
)
);
},
- participateInChat: function(p) {
- return Object.keys(p.tmpIds).some(x => p.tmpIds[x].focus) && !!p.name;
- },
someAnonymousPresent: function() {
return (
Object.values(this.people).some(p =>
someAnonymousPresent: function() {
return (
Object.values(this.people).some(p =>