X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=5c3522ec55561487c0746a282aca0b8e3710b818;hb=e50a802531b99829c533f22ecd21e359e7e1e049;hp=13632041b0d45452e4ca08870dfba071d3b0c826;hpb=0705a80c63aec2c60ee6a674b982f6a11d2d50bd;p=vchess.git diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue index 13632041..5c3522ec 100644 --- a/client/src/views/MyGames.vue +++ b/client/src/views/MyGames.vue @@ -6,7 +6,7 @@ main button.tabbtn#liveGames(@click="setDisplay('live',$event)") | {{ st.tr["Live games"] }} button.tabbtn#corrGames(@click="setDisplay('corr',$event)") - | {{ st.tr["Correspondance games"] }} + | {{ st.tr["Correspondence games"] }} button.tabbtn#importGames(@click="setDisplay('import',$event)") | {{ st.tr["Imported games"] }} GameList( @@ -244,7 +244,7 @@ export default { case "notifyturn": case "notifyscore": { const info = data.data; - const type = (!!parseInt(info.gid) ? "corr" : "live"); + const type = (!!parseInt(info.gid, 10) ? "corr" : "live"); let game = gamesArrays[type].find(g => g.id == info.gid); // "notifything" --> "thing": const thing = data.code.substr(6);