X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=a8c0dab664556e8f1811560756a21d2d6b3af645;hb=902378e6276422d38b45f7d79282c2462f1124b1;hp=0d488e51cf4ead64f3953ff3295ddd202b72d77b;hpb=3d9745ae10ba867e4c1ec6e848db29c5e293420b;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 0d488e51..a8c0dab6 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -115,6 +115,8 @@ export default { }, deleteGame: function(game, e) { if ( + // Import ? + (typeof game.id == "string" && game.id.charAt(0) == 'i') || // My game ? game.players.some(p => p.sid == this.st.user.sid || p.id == this.st.user.id