mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 05:34:58 -05:00
[web] Use named route for playlists
Switching to named routes in order to reduce future maintenance.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user