diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-15 15:52:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-15 15:52:18 +0100 |
commit | 41d713446c2152d47943ddb0c841a9e36ca5a9db (patch) | |
tree | 7b22f6f7ea5652107ef503470d2455c4bb087799 /client/src/app/+video-channels | |
parent | 17036be5bc2f14dc4e66053087e39887599df4de (diff) | |
download | PeerTube-41d713446c2152d47943ddb0c841a9e36ca5a9db.tar.gz PeerTube-41d713446c2152d47943ddb0c841a9e36ca5a9db.tar.zst PeerTube-41d713446c2152d47943ddb0c841a9e36ca5a9db.zip |
Lazy import some modules
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r-- | client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts index 895b19064..11f9391e1 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts | |||
@@ -26,11 +26,11 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy { | |||
26 | ngOnInit () { | 26 | ngOnInit () { |
27 | // Parent get the video channel for us | 27 | // Parent get the video channel for us |
28 | this.videoChannelSub = this.videoChannelService.videoChannelLoaded | 28 | this.videoChannelSub = this.videoChannelService.videoChannelLoaded |
29 | .subscribe(videoChannel => { | 29 | .subscribe(async videoChannel => { |
30 | this.videoChannel = videoChannel | 30 | this.videoChannel = videoChannel |
31 | 31 | ||
32 | this.descriptionHTML = this.markdownService.textMarkdownToHTML(this.videoChannel.description) | 32 | this.descriptionHTML = await this.markdownService.textMarkdownToHTML(this.videoChannel.description) |
33 | this.supportHTML = this.markdownService.enhancedMarkdownToHTML(this.videoChannel.support) | 33 | this.supportHTML = await this.markdownService.enhancedMarkdownToHTML(this.videoChannel.support) |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | 36 | ||