Added Black for Wife to JayRock. Switched parameters field to JSON type.

This commit is contained in:
2020-02-09 19:41:39 +01:00
parent f7f4da24ec
commit 0f513266a0
18 changed files with 173 additions and 58 deletions

View File

@@ -85,7 +85,7 @@ export default {
actors: [],
pageTitle: null,
letters: ['all'].concat(Array.from({ length: 26 }, (value, index) => String.fromCharCode(index + 97).toUpperCase())),
letter: this.$route.params.letter,
letter: this.$route.params.letter || 'all',
gender: this.$route.params.gender || 'female',
};
},

View File

@@ -51,18 +51,7 @@ const routes = [
name: 'tag',
},
{
path: '/actors',
component: Actors,
redirect: {
name: 'actors',
params: {
gender: 'female',
letter: 'all',
},
},
},
{
path: '/actors/:gender/:letter',
path: '/actors/:gender?/:letter?',
component: Actors,
name: 'actors',
},