mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-04 18:36:02 -05: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',
|
||||
redirect: '/playlists/0'
|
||||
path: '/playlists',
|
||||
redirect: { name: 'playlist', params: { id: 0 } }
|
||||
},
|
||||
{
|
||||
component: PagePlaylist,
|
||||
|
Loading…
x
Reference in New Issue
Block a user