Update reversi.vue
This commit is contained in:
		
							parent
							
								
									bf931f2c82
								
							
						
					
					
						commit
						443f967611
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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}`);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue