Add patch for compatibility with old version
[vchess.git] / client / src / components / GameList.vue
index 0d488e5..bc9e883 100644 (file)
@@ -83,6 +83,8 @@ export default {
           if (!!g.myColor) g.priority++;
           if (!!g.myTurn) g.priority++;
         }
+        // TODO: remove patch soon
+        if (!g.options) g.options = {}
       });
       const deltaCreated = maxCreated - minCreated;
       return remGames.sort((g1, g2) => {