]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account.component.ts
Add import http enabled configuration
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account.component.ts
1 import { Component } from '@angular/core'
2 import { ServerService } from '@app/core'
3
4 @Component({
5 selector: 'my-my-account',
6 templateUrl: './my-account.component.html'
7 })
8 export class MyAccountComponent {
9
10 constructor (
11 private serverService: ServerService
12 ) {}
13
14 isVideoImportEnabled () {
15 return this.serverService.getConfig().import.video.http.enabled
16 }
17 }