diff options
Diffstat (limited to 'client/src/app/+my-account/my-account.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account.component.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account.component.ts b/client/src/app/+my-account/my-account.component.ts index 7bb461d3c..a8f5f8f31 100644 --- a/client/src/app/+my-account/my-account.component.ts +++ b/client/src/app/+my-account/my-account.component.ts | |||
@@ -1,7 +1,17 @@ | |||
1 | import { Component } from '@angular/core' | 1 | import { Component } from '@angular/core' |
2 | import { ServerService } from '@app/core' | ||
2 | 3 | ||
3 | @Component({ | 4 | @Component({ |
4 | selector: 'my-my-account', | 5 | selector: 'my-my-account', |
5 | templateUrl: './my-account.component.html' | 6 | templateUrl: './my-account.component.html' |
6 | }) | 7 | }) |
7 | export class MyAccountComponent {} | 8 | export class MyAccountComponent { |
9 | |||
10 | constructor ( | ||
11 | private serverService: ServerService | ||
12 | ) {} | ||
13 | |||
14 | isVideoImportEnabled () { | ||
15 | return this.serverService.getConfig().import.video.http.enabled | ||
16 | } | ||
17 | } | ||