X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FRules.vue;h=5a69c5bf9019becdf9ce95a21100cafaca874c4e;hb=6f093ada2dafe47198b85d29ce5d26b50a343f8e;hp=1f9a0a44bd3dc3ceb8face11c7664383208f6e41;hpb=fcbc92c26e382e425d3d4cc4910eaf1a1d61c989;p=vchess.git diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue index 1f9a0a44..5a69c5bf 100644 --- a/client/src/views/Rules.vue +++ b/client/src/views/Rules.vue @@ -47,7 +47,7 @@ export default { this.re_setVariant(newRoute.params["vname"]); }, }, - created: async function() { + created: function() { // NOTE: variant cannot be set before store is initialized this.re_setVariant(this.$route.params["vname"]); },