diff options
Diffstat (limited to 'client/src/app/+videos/video-list/video-user-subscriptions.component.ts')
-rw-r--r-- | client/src/app/+videos/video-list/video-user-subscriptions.component.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/+videos/video-list/video-user-subscriptions.component.ts b/client/src/app/+videos/video-list/video-user-subscriptions.component.ts index 41ad9b277..b02988169 100644 --- a/client/src/app/+videos/video-list/video-user-subscriptions.component.ts +++ b/client/src/app/+videos/video-list/video-user-subscriptions.component.ts | |||
@@ -3,10 +3,8 @@ import { ActivatedRoute, Router } from '@angular/router' | |||
3 | import { AuthService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core' | 3 | import { AuthService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core' |
4 | import { HooksService } from '@app/core/plugins/hooks.service' | 4 | import { HooksService } from '@app/core/plugins/hooks.service' |
5 | import { immutableAssign } from '@app/helpers' | 5 | import { immutableAssign } from '@app/helpers' |
6 | import { VideoService } from '@app/shared/shared-main' | ||
7 | import { UserSubscriptionService } from '@app/shared/shared-user-subscription' | 6 | import { UserSubscriptionService } from '@app/shared/shared-user-subscription' |
8 | import { AbstractVideoList, OwnerDisplayType } from '@app/shared/shared-video-miniature' | 7 | import { AbstractVideoList, OwnerDisplayType } from '@app/shared/shared-video-miniature' |
9 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
10 | import { VideoSortField } from '@shared/models' | 8 | import { VideoSortField } from '@shared/models' |
11 | 9 | ||
12 | @Component({ | 10 | @Component({ |
@@ -21,7 +19,6 @@ export class VideoUserSubscriptionsComponent extends AbstractVideoList implement | |||
21 | groupByDate = true | 19 | groupByDate = true |
22 | 20 | ||
23 | constructor ( | 21 | constructor ( |
24 | protected i18n: I18n, | ||
25 | protected router: Router, | 22 | protected router: Router, |
26 | protected serverService: ServerService, | 23 | protected serverService: ServerService, |
27 | protected route: ActivatedRoute, | 24 | protected route: ActivatedRoute, |
@@ -31,15 +28,14 @@ export class VideoUserSubscriptionsComponent extends AbstractVideoList implement | |||
31 | protected screenService: ScreenService, | 28 | protected screenService: ScreenService, |
32 | protected storageService: LocalStorageService, | 29 | protected storageService: LocalStorageService, |
33 | private userSubscription: UserSubscriptionService, | 30 | private userSubscription: UserSubscriptionService, |
34 | private videoService: VideoService, | ||
35 | private hooks: HooksService | 31 | private hooks: HooksService |
36 | ) { | 32 | ) { |
37 | super() | 33 | super() |
38 | 34 | ||
39 | this.titlePage = i18n('Videos from your subscriptions') | 35 | this.titlePage = $localize`Videos from your subscriptions` |
40 | this.actions.push({ | 36 | this.actions.push({ |
41 | routerLink: '/my-account/subscriptions', | 37 | routerLink: '/my-account/subscriptions', |
42 | label: i18n('Subscriptions'), | 38 | label: $localize`Subscriptions`, |
43 | iconName: 'cog' | 39 | iconName: 'cog' |
44 | }) | 40 | }) |
45 | } | 41 | } |