X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=d12fff480f845d1e031cc98926e24b89da124ce7;hp=aef3387da379bb9b13f42027a62aafffcb44fa86;hb=7d48e5394d4e3e9ba685cf1e837565a9ec4aa058;hpb=902378e6276422d38b45f7d79282c2462f1124b1 diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue index aef3387d..d12fff48 100644 --- a/client/src/views/MyGames.vue +++ b/client/src/views/MyGames.vue @@ -410,7 +410,8 @@ export default { this.cursor["import"] = importGames[L - 1].created - 1; importGames.forEach(g => { g.type = "import"; - g.options = JSON.parse(g.options); + // TODO: remove following patch (options || "{}") + g.options = JSON.parse(g.options || "{}"); this.setVname(g); }); this.importGames = this.importGames.concat(importGames);