Updated library routes to handle both detail and browse views

This commit is contained in:
Eliot Berriot 2017-12-12 23:03:58 +01:00
parent c6d408924b
commit 74926114e4
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 20 additions and 20 deletions

View file

@ -35,7 +35,7 @@ export default {
let categories = [
{
code: 'artists',
route: 'library.artist',
route: 'library.artists.detail',
name: 'Artist',
getTitle (r) {
return r.name
@ -46,7 +46,7 @@ export default {
},
{
code: 'albums',
route: 'library.album',
route: 'library.albums.detail',
name: 'Album',
getTitle (r) {
return r.title
@ -57,7 +57,7 @@ export default {
},
{
code: 'tracks',
route: 'library.track',
route: 'library.tracks.detail',
name: 'Track',
getTitle (r) {
return r.title