From 41d713446c2152d47943ddb0c841a9e36ca5a9db Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Feb 2019 15:52:18 +0100 Subject: Lazy import some modules --- .../video-channel-about/video-channel-about.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/+video-channels/video-channel-about') 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 { ngOnInit () { // Parent get the video channel for us this.videoChannelSub = this.videoChannelService.videoChannelLoaded - .subscribe(videoChannel => { + .subscribe(async videoChannel => { this.videoChannel = videoChannel - this.descriptionHTML = this.markdownService.textMarkdownToHTML(this.videoChannel.description) - this.supportHTML = this.markdownService.enhancedMarkdownToHTML(this.videoChannel.support) + this.descriptionHTML = await this.markdownService.textMarkdownToHTML(this.videoChannel.description) + this.supportHTML = await this.markdownService.enhancedMarkdownToHTML(this.videoChannel.support) }) } -- cgit v1.2.3