]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/about/about.component.ts
show quota in stats, display quota on the about page, fixes #405 (#421)
[github/Chocobozzz/PeerTube.git] / client / src / app / about / about.component.ts
index adad32b263825ebd493b5fa9a0dac7b756c37b04..7edc013e1277c97865bebd272987fc83ceb66af8 100644 (file)
@@ -23,6 +23,10 @@ export class AboutComponent implements OnInit {
     return this.serverService.getConfig().instance.name
   }
 
+  get userVideoQuota () {
+    return this.serverService.getConfig().user.videoQuota
+  }
+
   ngOnInit () {
     this.serverService.getAbout()
       .subscribe(
@@ -31,7 +35,7 @@ export class AboutComponent implements OnInit {
           this.termsHTML = this.markdownService.textMarkdownToHTML(res.instance.terms)
         },
 
-        err => this.notificationsService.error('Error', err)
+        err => this.notificationsService.error('Error getting about from server', err)
       )
   }