X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fabout%2Fabout.component.ts;h=7edc013e1277c97865bebd272987fc83ceb66af8;hb=1869c87535d31a73a26c5d07718cdf94300cc332;hp=adad32b263825ebd493b5fa9a0dac7b756c37b04;hpb=07fa4c97ca50b83b0bee9230da97d02401b4e05f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/about/about.component.ts b/client/src/app/about/about.component.ts index adad32b26..7edc013e1 100644 --- a/client/src/app/about/about.component.ts +++ b/client/src/app/about/about.component.ts @@ -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) ) }