diff options
Diffstat (limited to 'client/src/app/+accounts/account-video-channels/account-video-channels.component.ts')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 631444398..2ee168492 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts | |||
@@ -2,10 +2,10 @@ import { from, Subject, Subscription } from 'rxjs' | |||
2 | import { concatMap, map, switchMap, tap } from 'rxjs/operators' | 2 | import { concatMap, map, switchMap, tap } from 'rxjs/operators' |
3 | import { Component, OnDestroy, OnInit } from '@angular/core' | 3 | import { Component, OnDestroy, OnInit } from '@angular/core' |
4 | import { ComponentPagination, hasMoreItems, MarkdownService, User, UserService } from '@app/core' | 4 | import { ComponentPagination, hasMoreItems, MarkdownService, User, UserService } from '@app/core' |
5 | import { SimpleMemoize } from '@app/helpers' | ||
5 | import { Account, AccountService, Video, VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main' | 6 | import { Account, AccountService, Video, VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main' |
6 | import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature' | 7 | import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature' |
7 | import { NSFWPolicyType, VideoSortField } from '@shared/models' | 8 | import { NSFWPolicyType, VideoSortField } from '@shared/models' |
8 | import { SimpleMemoize } from '@app/helpers' | ||
9 | 9 | ||
10 | @Component({ | 10 | @Component({ |
11 | selector: 'my-account-video-channels', | 11 | selector: 'my-account-video-channels', |
@@ -98,7 +98,7 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy { | |||
98 | videoChannel, | 98 | videoChannel, |
99 | videoPagination: this.videosPagination, | 99 | videoPagination: this.videosPagination, |
100 | sort: this.videosSort, | 100 | sort: this.videosSort, |
101 | nsfwPolicy: this.nsfwPolicy | 101 | nsfw: this.videoService.nsfwPolicyToParam(this.nsfwPolicy) |
102 | } | 102 | } |
103 | 103 | ||
104 | return this.videoService.getVideoChannelVideos(options) | 104 | return this.videoService.getVideoChannelVideos(options) |