export type MenuLink = {
icon: GlobalIconName
+ iconClass?: string
label: string
// Used by the left menu for example
let links: MenuLink[] = []
if (userCanSeeVideosLink) {
+ links.push({
+ path: '/my-library/video-channels',
+ icon: 'channel' as GlobalIconName,
+ iconClass: 'channel-icon',
+ shortLabel: $localize`Channels`,
+ label: $localize`My channels`
+ })
+
links.push({
path: '/my-library/videos',
icon: 'videos' as GlobalIconName,