refactor(paths): move `channels` page into `library` route (`library/channels`)

This commit is contained in:
upsiflu 2025-03-25 11:08:37 +01:00
parent cb9de136c4
commit 253d310ccf
3 changed files with 11 additions and 8 deletions

View File

@ -271,7 +271,7 @@ const moderationNotifications = computed(() =>
</Link> </Link>
<Link <Link
to="/channels" to="/library/channels"
ghost ghost
full full
align-text="start" align-text="start"
@ -452,7 +452,8 @@ const moderationNotifications = computed(() =>
line-height: 1.2; line-height: 1.2;
} }
.menu-links { .menu-links {
padding: 0 16px 32px; // Bottom padding is mainly offsetting player-bar
padding: 0 16px 72px;
flex-grow: 1; flex-grow: 1;
} }
} }

View File

@ -124,12 +124,6 @@ export default [
} }
] ]
}, },
{
path: 'channels',
name: 'channels',
component: () => import('~/views/channels/List.vue'),
props: route => ({ defaultQuery: route.query.q })
},
{ {
path: 'subscriptions', path: 'subscriptions',
name: 'subscriptions', name: 'subscriptions',

View File

@ -58,6 +58,14 @@ export default [
paginateBy: 30 paginateBy: 30
} }
}, },
{
path: 'channels/',
name: 'library.channels.browse',
component: () => import('~/views/channels/List.vue'),
meta: {
paginateBy: 30
}
},
{ {
path: 'radios/', path: 'radios/',
name: 'library.radios.browse', name: 'library.radios.browse',