mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Use named route for radio page
Switching to named routes in order to reduce future maintenance.
This commit is contained in:
@@ -188,6 +188,12 @@ export const router = createRouter({
|
||||
name: 'podcasts',
|
||||
path: '/podcasts'
|
||||
},
|
||||
{
|
||||
component: PageRadioStreams,
|
||||
meta: { show_progress: true },
|
||||
name: 'radio',
|
||||
path: '/radio'
|
||||
},
|
||||
{
|
||||
path: '/audiobooks',
|
||||
redirect: '/audiobooks/artists'
|
||||
@@ -210,12 +216,6 @@ export const router = createRouter({
|
||||
component: PageAudiobooksAlbums,
|
||||
meta: { show_progress: true, has_tabs: true, has_index: true }
|
||||
},
|
||||
{
|
||||
path: '/radio',
|
||||
name: 'Radio',
|
||||
component: PageRadioStreams,
|
||||
meta: { show_progress: true }
|
||||
},
|
||||
{
|
||||
component: PageQueue,
|
||||
name: 'queue',
|
||||
|
||||
Reference in New Issue
Block a user