mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
use actual slug
This commit is contained in:
parent
b1d085ff82
commit
a86eaeb813
1 changed files with 2 additions and 1 deletions
|
@ -210,6 +210,7 @@ export default {
|
|||
openGame(gameId, list) {
|
||||
const gameDetailView = this.settings && this.settings.gameDetailView;
|
||||
|
||||
// TODO: rename and make it more generic e.g. active_game_data
|
||||
this.$store.commit('SET_GAME_MODAL_DATA', { gameId, list });
|
||||
|
||||
if (gameDetailView === 'new') {
|
||||
|
@ -217,7 +218,7 @@ export default {
|
|||
name: 'game',
|
||||
params: {
|
||||
gameId,
|
||||
gameSlug: 'molesta-la-bresta',
|
||||
gameSlug: this.games[gameId].slug,
|
||||
},
|
||||
});
|
||||
} else if (gameDetailView === 'side') {
|
||||
|
|
Loading…
Reference in a new issue