Final (temporary) patch?
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 19:04:01 +0000 (21:04 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 19:04:01 +0000 (21:04 +0200)
client/src/views/MyGames.vue

index aef3387..d12fff4 100644 (file)
@@ -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);