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/videos/video-list/video-recently-added.component.ts | |
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/videos/video-list/video-recently-added.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-recently-added.component.ts | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/client/src/app/videos/video-list/video-recently-added.component.ts b/client/src/app/videos/video-list/video-recently-added.component.ts index 9f57a61e3..c9395133f 100644 --- a/client/src/app/videos/video-list/video-recently-added.component.ts +++ b/client/src/app/videos/video-list/video-recently-added.component.ts | |||
@@ -1,21 +1,17 @@ | |||
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 { AuthService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core' |
4 | import { AuthService } from '../../core/auth' | ||
5 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | ||
6 | import { VideoSortField } from '../../shared/video/sort-field.type' | ||
7 | import { VideoService } from '../../shared/video/video.service' | ||
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
9 | import { ScreenService } from '@app/shared/misc/screen.service' | ||
10 | import { Notifier, ServerService } from '@app/core' | ||
11 | import { HooksService } from '@app/core/plugins/hooks.service' | 4 | import { HooksService } from '@app/core/plugins/hooks.service' |
12 | import { UserService } from '@app/shared' | 5 | import { immutableAssign } from '@app/helpers' |
13 | import { LocalStorageService } from '@app/shared/misc/storage.service' | 6 | import { VideoService } from '@app/shared/shared-main' |
7 | import { AbstractVideoList } from '@app/shared/shared-video-miniature' | ||
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
9 | import { VideoSortField } from '@shared/models' | ||
14 | 10 | ||
15 | @Component({ | 11 | @Component({ |
16 | selector: 'my-videos-recently-added', | 12 | selector: 'my-videos-recently-added', |
17 | styleUrls: [ '../../shared/video/abstract-video-list.scss' ], | 13 | styleUrls: [ '../../shared/shared-video-miniature/abstract-video-list.scss' ], |
18 | templateUrl: '../../shared/video/abstract-video-list.html' | 14 | templateUrl: '../../shared/shared-video-miniature/abstract-video-list.html' |
19 | }) | 15 | }) |
20 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { | 16 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { |
21 | titlePage: string | 17 | titlePage: string |