aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-26 15:53:18 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-03-31 09:05:51 +0200
commit900f7820814b95b07ef0bcac04036a95abfbe060 (patch)
tree4033df58ed2da815f5d3d26313a1c50668d49d54 /client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts
parent67264e060b6068399dae9a67abae035a73b84af1 (diff)
downloadPeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.tar.gz
PeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.tar.zst
PeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.zip
Redesign account's channels page
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.ts13
1 files changed, 12 insertions, 1 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 803651505..5e2af1b92 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
@@ -5,7 +5,7 @@ import { ActivatedRoute, Router } from '@angular/router'
5import { AuthService, ConfirmService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core' 5import { AuthService, ConfirmService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core'
6import { immutableAssign } from '@app/helpers' 6import { immutableAssign } from '@app/helpers'
7import { VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main' 7import { VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main'
8import { AbstractVideoList } from '@app/shared/shared-video-miniature' 8import { AbstractVideoList, MiniatureDisplayOptions } from '@app/shared/shared-video-miniature'
9import { VideoFilter } from '@shared/models' 9import { VideoFilter } from '@shared/models'
10 10
11@Component({ 11@Component({
@@ -22,6 +22,17 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On
22 22
23 filter: VideoFilter = null 23 filter: VideoFilter = null
24 24
25 displayOptions: MiniatureDisplayOptions = {
26 date: true,
27 views: true,
28 by: false,
29 avatar: false,
30 privacyLabel: true,
31 privacyText: false,
32 state: false,
33 blacklistInfo: false
34 }
35
25 private videoChannel: VideoChannel 36 private videoChannel: VideoChannel
26 private videoChannelSub: Subscription 37 private videoChannelSub: Subscription
27 38