From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 30 Mar 2020 01:43:24 +0000 (+0200)
Subject: Improve problems display
X-Git-Url: https://git.auder.net/doc/current/bundles/framework/rpsls.js?a=commitdiff_plain;h=1d0bb60f14f26001cdcaa22bafa4f69be7f9f9da;p=vchess.git

Improve problems display
---

diff --git a/client/src/views/Problems.vue b/client/src/views/Problems.vue
index 3c9327db..a62949c8 100644
--- a/client/src/views/Problems.vue
+++ b/client/src/views/Problems.vue
@@ -319,6 +319,7 @@ export default {
           // $nextTick to be sure $refs["basegame"] exists
           this.$nextTick(() => {
             this.$refs["basegame"].re_setVariables(this.game); });
+          this.curproblem.showSolution = false; //in case of
           this.copyProblem(p, this.curproblem);
         });
       };