aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/about/about.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/about/about.component.ts')
-rw-r--r--client/src/app/about/about.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/about/about.component.ts b/client/src/app/about/about.component.ts
index 2fd48f0d3..3948d5c46 100644
--- a/client/src/app/about/about.component.ts
+++ b/client/src/app/about/about.component.ts
@@ -10,6 +10,7 @@ import { NotificationsService } from 'angular2-notifications'
10}) 10})
11 11
12export class AboutComponent implements OnInit { 12export class AboutComponent implements OnInit {
13 shortDescription = ''
13 descriptionHTML = '' 14 descriptionHTML = ''
14 termsHTML = '' 15 termsHTML = ''
15 16
@@ -35,6 +36,7 @@ export class AboutComponent implements OnInit {
35 this.serverService.getAbout() 36 this.serverService.getAbout()
36 .subscribe( 37 .subscribe(
37 res => { 38 res => {
39 this.shortDescription = res.instance.shortDescription
38 this.descriptionHTML = this.markdownService.textMarkdownToHTML(res.instance.description) 40 this.descriptionHTML = this.markdownService.textMarkdownToHTML(res.instance.description)
39 this.termsHTML = this.markdownService.textMarkdownToHTML(res.instance.terms) 41 this.termsHTML = this.markdownService.textMarkdownToHTML(res.instance.terms)
40 }, 42 },