mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Use named route for the page queue
Switching to named routes in order to reduce future maintenance.
This commit is contained in:
@@ -49,11 +49,6 @@ export const router = createRouter({
|
||||
name: 'about',
|
||||
path: '/about'
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
name: 'PageQueue',
|
||||
component: PageQueue
|
||||
},
|
||||
{
|
||||
component: PageAudiobooksAlbum,
|
||||
meta: { show_progress: true },
|
||||
@@ -215,6 +210,11 @@ export const router = createRouter({
|
||||
component: PagePlaylist,
|
||||
meta: { show_progress: true }
|
||||
},
|
||||
{
|
||||
component: PageQueue,
|
||||
name: 'queue',
|
||||
path: '/'
|
||||
},
|
||||
{
|
||||
path: '/search',
|
||||
redirect: '/search/library'
|
||||
|
||||
Reference in New Issue
Block a user