'update'
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 7 Feb 2020 17:36:50 +0000 (18:36 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 7 Feb 2020 17:36:50 +0000 (18:36 +0100)
client/src/components/MoveList.vue

index 90b76b4..e3da8dd 100644 (file)
@@ -1,4 +1,5 @@
 <script>
+import { store } from "@/store";
 // Component for moves list on the right
 export default {
   name: 'my-move-list',
@@ -113,7 +114,7 @@ export default {
         },
         [
           h("p", this.score),
-          h("p", this.message),
+          h("p", store.state.tr[this.message]),
         ]
       );
       rootElements.push(scoreDiv);