X-Git-Url: https://git.auder.net/images/pieces/%22%20%20VariantRules.getPpath%28board%5Bi%5D%5Bj%5D%29%20%20%20%22.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=a48c8d4792027cbbb46e298e20e721fe1856adad;hb=aef58d08d7c453f7ae7947e718c3bd6f092f02f2;hp=52e6dc3beb9041beca07ec60f7fb84c4dbe47fbf;hpb=1ef65040168ab7d55ce921abc9d63644a937d689;p=vchess.git
diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue
index 52e6dc3b..a48c8d47 100644
--- a/client/src/views/MyGames.vue
+++ b/client/src/views/MyGames.vue
@@ -31,6 +31,7 @@ main
v-show="display=='import'"
ref="importgames"
:games="importGames"
+ :show-both="true"
@show-game="showGame"
)
button#loadMoreBtn(
@@ -198,6 +199,8 @@ export default {
alert(this.st.tr["An error occurred. Try again!"]);
return;
}
+ // NOTE: since a random new ID is generated for imported games,
+ // this error will not occur.
else alert(this.st.tr["The game was already imported"]);
}
this.$router.push("/game/" + game.id);
@@ -390,16 +393,13 @@ export default {
};
-
+
+
+