mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 14:00:06 +02:00
Updated library routes to handle both detail and browse views
This commit is contained in:
parent
c6d408924b
commit
74926114e4
8 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue