X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fmenu%2Fmenu.service.ts;h=d865c7da2e7ce2e5f0e75c1370571e6d6ec915b8;hb=2c8380a46f34631e705b1564938343cacfa4b0bc;hp=81837db7eb024746aec2a0274f4bcf1363fe395d;hpb=dc1296a9abfeeb714f321454dde32389a0f40c7e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/menu/menu.service.ts b/client/src/app/core/menu/menu.service.ts index 81837db7e..d865c7da2 100644 --- a/client/src/app/core/menu/menu.service.ts +++ b/client/src/app/core/menu/menu.service.ts @@ -7,6 +7,7 @@ import { ScreenService } from '../wrappers' export type MenuLink = { icon: GlobalIconName + iconClass?: string label: string // Used by the left menu for example @@ -70,6 +71,14 @@ export class MenuService { 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,