Improve problems display
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 30 Mar 2020 01:43:24 +0000 (03:43 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 30 Mar 2020 01:43:24 +0000 (03:43 +0200)
client/src/views/Problems.vue

index 3c9327d..a62949c 100644 (file)
@@ -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);
         });
       };