]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
CommitLineData
4bb6886d 1import { Component } from '@angular/core'
5d08a6a7 2import { ServerService } from '@app/core'
4bb6886d
C
3
4@Component({
0626e7af 5 selector: 'my-my-account',
4bb6886d
C
6 templateUrl: './my-account.component.html'
7})
5d08a6a7
C
8export class MyAccountComponent {
9
10 constructor (
11 private serverService: ServerService
12 ) {}
13
14 isVideoImportEnabled () {
15 return this.serverService.getConfig().import.video.http.enabled
16 }
17}