X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=c24e7203bfe34e5ab308e1f3b292beef1256176c;hp=a8d9e1270c640b97a43878800c898566ed0de8dc;hb=25d183426e276870f57793f1f043c40a412d18c6;hpb=b1ea21493a31105d17cd600ff1d26ee6fd9e3f6f diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue index a8d9e127..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) {