mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-22 11:35:43 -04:00
[web] Use named route for playlists
Switching to named routes in order to reduce future maintenance.
This commit is contained in:
parent
d4c3d27688
commit
19cdd895f0
@ -210,7 +210,8 @@ export const router = createRouter({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'playlists',
|
name: 'playlists',
|
||||||
redirect: '/playlists/0'
|
path: '/playlists',
|
||||||
|
redirect: { name: 'playlist', params: { id: 0 } }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: PagePlaylist,
|
component: PagePlaylist,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user