From: Benjamin Auder Date: Tue, 13 Apr 2021 19:04:01 +0000 (+0200) Subject: Final (temporary) patch? X-Git-Url: https://git.auder.net/doc/html/scripts/current/DESCRIPTION?a=commitdiff_plain;h=7d48e5394d4e3e9ba685cf1e837565a9ec4aa058;p=vchess.git Final (temporary) patch? --- 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);