diff --git a/package.json b/package.json index 67519765..7080054b 100644 --- a/package.json +++ b/package.json @@ -48,5 +48,5 @@ "preview:https": "serve dist", "reinstall": "rm -rf node_modules; yarn; vue-tsc --noEmit" }, - "version": "5.0.0-alpha.278" + "version": "5.0.0-alpha.280" } diff --git a/src/components/units/AppGame.vue b/src/components/units/AppGame.vue index e4856b7e..594cbfd5 100644 --- a/src/components/units/AppGame.vue +++ b/src/components/units/AppGame.vue @@ -15,11 +15,10 @@ const route = useRoute(); const store = useStore(); /* Change the following values to computed refs if game may change dynamically on this page. */ - const gameType = route.params.type as string; const gameId = route.params.gameId as string; const variantId = route.params.variantId as string; const initialPosition = route.params.initialPosition as string; - store.dispatch(actionTypes.initiateMatch, { gameType: gameType, gameId: gameId, variantId: variantId, startPosition: initialPosition }); + store.dispatch(actionTypes.initiateMatch, { gameId: gameId, variantId: variantId, startPosition: initialPosition }); const options = computed(() => store.getters.options); const showMenu = computed(() => (options.value ? options.value.showMenu : true)); onBeforeRouteLeave(() => store.dispatch(actionTypes.exitMatch)); diff --git a/src/components/units/AppGameVariants.vue b/src/components/units/AppGameVariants.vue index 2b7f8586..83e54437 100644 --- a/src/components/units/AppGameVariants.vue +++ b/src/components/units/AppGameVariants.vue @@ -3,12 +3,12 @@
{{ variant.description }}
+{{ variant.name }}
Custom