diff options
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.ts | 2 |
1 files changed, 2 insertions, 0 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 59814a93d..631444398 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 | |||
@@ -5,6 +5,7 @@ import { ComponentPagination, hasMoreItems, MarkdownService, User, UserService } | |||
5 | import { Account, AccountService, Video, VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main' | 5 | import { Account, AccountService, Video, VideoChannel, VideoChannelService, VideoService } from '@app/shared/shared-main' |
6 | import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature' | 6 | import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature' |
7 | import { NSFWPolicyType, VideoSortField } from '@shared/models' | 7 | import { NSFWPolicyType, VideoSortField } from '@shared/models' |
8 | import { SimpleMemoize } from '@app/helpers' | ||
8 | 9 | ||
9 | @Component({ | 10 | @Component({ |
10 | selector: 'my-account-video-channels', | 11 | selector: 'my-account-video-channels', |
@@ -145,6 +146,7 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy { | |||
145 | this.loadMoreChannels() | 146 | this.loadMoreChannels() |
146 | } | 147 | } |
147 | 148 | ||
149 | @SimpleMemoize() | ||
148 | getVideoChannelLink (videoChannel: VideoChannel) { | 150 | getVideoChannelLink (videoChannel: VideoChannel) { |
149 | return [ '/c', videoChannel.nameWithHost ] | 151 | return [ '/c', videoChannel.nameWithHost ] |
150 | } | 152 | } |