X-Git-Url: https://git.auder.net/js/css/rpsls.css?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=68d3b48b4ff2cb14d6d25049074005075d340193;hb=8a0f881d7d2729cb421c6c1efcf51e6820ef005d;hp=2236ce3c736b95648a3fe68e88df87b8f7965481;hpb=c6b8d37f7bd48c1e04061da787855ebd57326fa5;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 2236ce3c..68d3b48b 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -83,7 +83,7 @@ main .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 .button-group button#peopleBtn(onClick="window.doClick('modalPeople')") - | {{ st.tr["Social"] }} + | {{ st.tr["Who's there?"] }} button(onClick="window.doClick('modalNewgame')") | {{ st.tr["New game"] }} .row @@ -275,8 +275,11 @@ export default { this.newchallenge.cadence = b.innerHTML; }); }); - const showCtype = localStorage.getItem("type-challenges") || "live"; - const showGtype = localStorage.getItem("type-games") || "live"; + const dispCorr = this.$route.query["disp"]; + const showCtype = + dispCorr || localStorage.getItem("type-challenges") || "live"; + const showGtype = + dispCorr || localStorage.getItem("type-games") || "live"; this.setDisplay("c", showCtype); this.setDisplay("g", showGtype); },