X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=c24e7203bfe34e5ab308e1f3b292beef1256176c;hb=25d183426e276870f57793f1f043c40a412d18c6;hp=607925422e998d89c1006c54fb69f379e5499f3c;hpb=0b0dc040acd01ff1855b159c2933cb2eff73b26d;p=vchess.git diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue index 60792542..c24e7203 100644 --- a/client/src/views/MyGames.vue +++ b/client/src/views/MyGames.vue @@ -32,7 +32,8 @@ export default { created: function() { GameStorage.getAll((localGames) => { localGames.forEach((g) => g.type = this.classifyObject(g)); - Array.prototype.push.apply(this.games, localGames); + //Array.prototype.push.apply(this.games, localGames); /TODO: Vue3... + this.games = this.games.concat(localGames); }); if (this.st.user.id > 0) { @@ -57,7 +58,3 @@ export default { }, }; - -