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 --- client/src/app/+accounts/account-about/account-about.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+accounts/account-about') diff --git a/client/src/app/+accounts/account-about/account-about.component.ts b/client/src/app/+accounts/account-about/account-about.component.ts index 13890a0ee..ce22d3c2e 100644 --- a/client/src/app/+accounts/account-about/account-about.component.ts +++ b/client/src/app/+accounts/account-about/account-about.component.ts @@ -25,9 +25,9 @@ export class AccountAboutComponent implements OnInit, OnDestroy { ngOnInit () { // Parent get the account for us this.accountSub = this.accountService.accountLoaded - .subscribe(account => { + .subscribe(async account => { this.account = account - this.descriptionHTML = this.markdownService.textMarkdownToHTML(this.account.description) + this.descriptionHTML = await this.markdownService.textMarkdownToHTML(this.account.description) }) } -- cgit v1.2.3