aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account.component.ts
blob: a8f5f8f31d55b28ab71b72a3beabb2de833ece4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Component } from '@angular/core'
import { ServerService } from '@app/core'

@Component({
  selector: 'my-my-account',
  templateUrl: './my-account.component.html'
})
export class MyAccountComponent {

  constructor (
    private serverService: ServerService
  ) {}

  isVideoImportEnabled () {
    return this.serverService.getConfig().import.video.http.enabled
  }
}