refactor(paths): move `channels` page into `library` route (`library/channels`)
This commit is contained in:
parent
cb9de136c4
commit
253d310ccf
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue