X-Git-Url: https://git.auder.net/assets/%7B%7B%20path%28%27mixstore_store_package_list%27%29%20%7D%7D?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=a29e0e98170fbd1bfd6162eadd815c9104daf95d;hb=107dc1bd5361e2538b1551bdcc37c1e90a444b83;hp=1e1c9e7cb420ea5d5c6fc4ada911b77e5e3f74b1;hpb=7ebc0408a76b4a966273190a2ade49e0f97099be;p=vchess.git
diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue
index 1e1c9e7c..a29e0e98 100644
--- a/client/src/views/MyGames.vue
+++ b/client/src/views/MyGames.vue
@@ -7,6 +7,8 @@ main
| {{ st.tr["Live games"] }}
button.tabbtn#corrGames(@click="setDisplay('corr',$event)")
| {{ st.tr["Correspondance games"] }}
+ button.tabbtn#importGames(@click="setDisplay('import',$event)")
+ | {{ st.tr["Imported games"] }}
GameList(
ref="livegames"
v-show="display=='live'"
@@ -21,6 +23,17 @@ main
@show-game="showGame"
@abortgame="abortGame"
)
+ UploadGame(
+ v-show="display=='import'"
+ @game-uploaded="addGameImport"
+ )
+ GameList(
+ v-show="display=='import'"
+ ref="importgames"
+ :games="importGames"
+ :show-both="true"
+ @show-game="showGame"
+ )
button#loadMoreBtn(
v-show="hasMore[display]"
@click="loadMore(display)"
@@ -31,15 +44,18 @@ main
-
+
+
+