aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts')
-rw-r--r--client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts23
1 files changed, 8 insertions, 15 deletions
diff --git a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
index 5749701e8..267c328f2 100644
--- a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
+++ b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
@@ -1,25 +1,18 @@
1import { Subscription } from 'rxjs'
2import { first, tap } from 'rxjs/operators'
1import { Component, OnDestroy, OnInit } from '@angular/core' 3import { Component, OnDestroy, OnInit } from '@angular/core'
2import { ActivatedRoute, Router } from '@angular/router' 4import { ActivatedRoute, Router } from '@angular/router'
3import { immutableAssign } from '@app/shared/misc/utils' 5import { AuthService, ConfirmService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core'
4import { AuthService } from '../../core/auth' 6import { immutableAssign } from '@app/helpers'
5import { ConfirmService } from '../../core/confirm' 7import { VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main'
6import { AbstractVideoList } from '../../shared/video/abstract-video-list' 8import { AbstractVideoList } from '@app/shared/shared-video-miniature'
7import { VideoService } from '../../shared/video/video.service'
8import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
9import { VideoChannel } from '@app/shared/video-channel/video-channel.model'
10import { first, tap } from 'rxjs/operators'
11import { I18n } from '@ngx-translate/i18n-polyfill' 9import { I18n } from '@ngx-translate/i18n-polyfill'
12import { Subscription } from 'rxjs'
13import { ScreenService } from '@app/shared/misc/screen.service'
14import { Notifier, ServerService } from '@app/core'
15import { UserService } from '@app/shared'
16import { LocalStorageService } from '@app/shared/misc/storage.service'
17 10
18@Component({ 11@Component({
19 selector: 'my-video-channel-videos', 12 selector: 'my-video-channel-videos',
20 templateUrl: '../../shared/video/abstract-video-list.html', 13 templateUrl: '../../shared/shared-video-miniature/abstract-video-list.html',
21 styleUrls: [ 14 styleUrls: [
22 '../../shared/video/abstract-video-list.scss', 15 '../../shared/shared-video-miniature/abstract-video-list.scss',
23 './video-channel-videos.component.scss' 16 './video-channel-videos.component.scss'
24 ] 17 ]
25}) 18})