projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final (temporary) patch?
[vchess.git]
/
client
/
src
/
views
/
MyGames.vue
diff --git
a/client/src/views/MyGames.vue
b/client/src/views/MyGames.vue
index
aef3387
..
d12fff4
100644
(file)
--- 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";
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);
this.setVname(g);
});
this.importGames = this.importGames.concat(importGames);