diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/+my-account/my-account-history | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/+my-account/my-account-history')
-rw-r--r-- | client/src/app/+my-account/my-account-history/my-account-history.component.ts | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.ts b/client/src/app/+my-account/my-account-history/my-account-history.component.ts index 5f0ccee50..dc78b3d6e 100644 --- a/client/src/app/+my-account/my-account-history/my-account-history.component.ts +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.ts | |||
@@ -1,17 +1,19 @@ | |||
1 | import { Component, OnDestroy, OnInit } from '@angular/core' | 1 | import { Component, OnDestroy, OnInit } from '@angular/core' |
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { immutableAssign } from '@app/shared/misc/utils' | 3 | import { |
4 | import { ComponentPagination } from '@app/shared/rest/component-pagination.model' | 4 | AuthService, |
5 | import { AuthService } from '../../core/auth' | 5 | ComponentPagination, |
6 | import { ConfirmService } from '../../core/confirm' | 6 | ConfirmService, |
7 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 7 | LocalStorageService, |
8 | import { VideoService } from '../../shared/video/video.service' | 8 | Notifier, |
9 | ScreenService, | ||
10 | ServerService, | ||
11 | UserService | ||
12 | } from '@app/core' | ||
13 | import { immutableAssign } from '@app/helpers' | ||
14 | import { UserHistoryService } from '@app/shared/shared-main' | ||
15 | import { AbstractVideoList } from '@app/shared/shared-video-miniature' | ||
9 | import { I18n } from '@ngx-translate/i18n-polyfill' | 16 | import { I18n } from '@ngx-translate/i18n-polyfill' |
10 | import { ScreenService } from '@app/shared/misc/screen.service' | ||
11 | import { UserHistoryService } from '@app/shared/users/user-history.service' | ||
12 | import { UserService } from '@app/shared' | ||
13 | import { Notifier, ServerService } from '@app/core' | ||
14 | import { LocalStorageService } from '@app/shared/misc/storage.service' | ||
15 | 17 | ||
16 | @Component({ | 18 | @Component({ |
17 | selector: 'my-account-history', | 19 | selector: 'my-account-history', |
@@ -38,7 +40,6 @@ export class MyAccountHistoryComponent extends AbstractVideoList implements OnIn | |||
38 | protected screenService: ScreenService, | 40 | protected screenService: ScreenService, |
39 | protected storageService: LocalStorageService, | 41 | protected storageService: LocalStorageService, |
40 | private confirmService: ConfirmService, | 42 | private confirmService: ConfirmService, |
41 | private videoService: VideoService, | ||
42 | private userHistoryService: UserHistoryService | 43 | private userHistoryService: UserHistoryService |
43 | ) { | 44 | ) { |
44 | super() | 45 | super() |