]>
Commit | Line | Data |
---|---|---|
4bb6886d | 1 | import { Component } from '@angular/core' |
5d08a6a7 | 2 | import { 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 |
8 | export class MyAccountComponent { |
9 | ||
10 | constructor ( | |
11 | private serverService: ServerService | |
12 | ) {} | |
13 | ||
14 | isVideoImportEnabled () { | |
b2977eec | 15 | return this.serverService.getConfig().import.videos.http.enabled |
5d08a6a7 C |
16 | } |
17 | } |