aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account.component.ts
blob: 6e29cdd832c60c044a0834cb1365c19ed8c86cda (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.videos.http.enabled
  }
}