From 7d48e5394d4e3e9ba685cf1e837565a9ec4aa058 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 13 Apr 2021 21:04:01 +0200
Subject: [PATCH] Final (temporary) patch?

---
 client/src/views/MyGames.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);
-- 
2.44.0