1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-15 07:08:56 +09:00

Update reversi.vue

This commit is contained in:
syuilo 2019-01-21 17:20:41 +09:00
parent bf931f2c82
commit 443f967611
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -20,10 +20,10 @@ export default Vue.extend({
methods: {
nav(game, actualNav) {
if (actualNav) {
this.$router.push(`/reversi/${game.id}`);
this.$router.push(`/games/reversi/${game.id}`);
} else {
// TODO: https://github.com/vuejs/vue-router/issues/703
this.$router.push(`/reversi/${game.id}`);
this.$router.push(`/games/reversi/${game.id}`);
}
}
}