Merge branch 'release/beta-10' into develop
[oweals/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.videos.http.enabled
16   }
17 }