mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Triple it up
This commit is contained in:
parent
c5885cc76c
commit
782239b74b
@ -50,7 +50,7 @@ class Channel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateGame(data) {
|
updateGame(data) {
|
||||||
if (data.player != undefined) {
|
if (data.player !== undefined) {
|
||||||
this.store.dispatch(setUserId(data.user_id));
|
this.store.dispatch(setUserId(data.user_id));
|
||||||
this.store.dispatch(setPlayers(data));
|
this.store.dispatch(setPlayers(data));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user