aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+my-library/my-history/my-history.component.ts30
1 files changed, 6 insertions, 24 deletions
diff --git a/client/src/app/+my-library/my-history/my-history.component.ts b/client/src/app/+my-library/my-history/my-history.component.ts
index daabca178..f6b712908 100644
--- a/client/src/app/+my-library/my-history/my-history.component.ts
+++ b/client/src/app/+my-library/my-history/my-history.component.ts
@@ -1,18 +1,6 @@
1import { tap } from 'rxjs/operators' 1import { tap } from 'rxjs/operators'
2import { Component, ComponentFactoryResolver, OnInit, ViewChild } from '@angular/core' 2import { Component, OnInit, ViewChild } from '@angular/core'
3import { ActivatedRoute, Router } from '@angular/router' 3import { AuthService, ComponentPagination, ConfirmService, DisableForReuseHook, Notifier, User, UserService } from '@app/core'
4import {
5 AuthService,
6 ComponentPagination,
7 ConfirmService,
8 DisableForReuseHook,
9 LocalStorageService,
10 Notifier,
11 ScreenService,
12 ServerService,
13 User,
14 UserService
15} from '@app/core'
16import { immutableAssign } from '@app/helpers' 4import { immutableAssign } from '@app/helpers'
17import { UserHistoryService, Video } from '@app/shared/shared-main' 5import { UserHistoryService, Video } from '@app/shared/shared-main'
18import { MiniatureDisplayOptions, VideosSelectionComponent } from '@app/shared/shared-video-miniature' 6import { MiniatureDisplayOptions, VideosSelectionComponent } from '@app/shared/shared-video-miniature'
@@ -53,17 +41,11 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook {
53 disabled = false 41 disabled = false
54 42
55 constructor ( 43 constructor (
56 protected router: Router, 44 private authService: AuthService,
57 protected serverService: ServerService, 45 private userService: UserService,
58 protected route: ActivatedRoute, 46 private notifier: Notifier,
59 protected authService: AuthService,
60 protected userService: UserService,
61 protected notifier: Notifier,
62 protected screenService: ScreenService,
63 protected storageService: LocalStorageService,
64 private confirmService: ConfirmService, 47 private confirmService: ConfirmService,
65 private userHistoryService: UserHistoryService, 48 private userHistoryService: UserHistoryService
66 protected cfr: ComponentFactoryResolver
67 ) { 49 ) {
68 this.titlePage = $localize`My watch history` 50 this.titlePage = $localize`My watch history`
69 } 51 }