]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/about/about.component.ts
Add short description in about page
[github/Chocobozzz/PeerTube.git] / client / src / app / about / about.component.ts
index 2fd48f0d305c068b2275799f14e4ecb8a6be8916..3948d5c46bbb022a40dba6b74c38c14a76609163 100644 (file)
@@ -10,6 +10,7 @@ import { NotificationsService } from 'angular2-notifications'
 })
 
 export class AboutComponent implements OnInit {
+  shortDescription = ''
   descriptionHTML = ''
   termsHTML = ''
 
@@ -35,6 +36,7 @@ export class AboutComponent implements OnInit {
     this.serverService.getAbout()
       .subscribe(
         res => {
+          this.shortDescription = res.instance.shortDescription
           this.descriptionHTML = this.markdownService.textMarkdownToHTML(res.instance.description)
           this.termsHTML = this.markdownService.textMarkdownToHTML(res.instance.terms)
         },