diff options
Diffstat (limited to 'client/src/app/core/menu/menu.service.ts')
-rw-r--r-- | client/src/app/core/menu/menu.service.ts | 9 |
1 files changed, 9 insertions, 0 deletions
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' | |||
7 | 7 | ||
8 | export type MenuLink = { | 8 | export type MenuLink = { |
9 | icon: GlobalIconName | 9 | icon: GlobalIconName |
10 | iconClass?: string | ||
10 | 11 | ||
11 | label: string | 12 | label: string |
12 | // Used by the left menu for example | 13 | // Used by the left menu for example |
@@ -71,6 +72,14 @@ export class MenuService { | |||
71 | 72 | ||
72 | if (userCanSeeVideosLink) { | 73 | if (userCanSeeVideosLink) { |
73 | links.push({ | 74 | links.push({ |
75 | path: '/my-library/video-channels', | ||
76 | icon: 'channel' as GlobalIconName, | ||
77 | iconClass: 'channel-icon', | ||
78 | shortLabel: $localize`Channels`, | ||
79 | label: $localize`My channels` | ||
80 | }) | ||
81 | |||
82 | links.push({ | ||
74 | path: '/my-library/videos', | 83 | path: '/my-library/videos', |
75 | icon: 'videos' as GlobalIconName, | 84 | icon: 'videos' as GlobalIconName, |
76 | shortLabel: $localize`Videos`, | 85 | shortLabel: $localize`Videos`, |