diff options
author | BO41 <lukasw41@gmail.com> | 2018-09-22 20:11:16 +0200 |
---|---|---|
committer | BO41 <lukasw41@gmail.com> | 2018-09-22 20:11:16 +0200 |
commit | 23db998f07d674c621972a769df73203b14e093a (patch) | |
tree | 6ecb88dc98bdbe69e113e4841d05aec34d6d0491 /client/src/app/+admin/config | |
parent | 9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff) | |
download | PeerTube-23db998f07d674c621972a769df73203b14e093a.tar.gz PeerTube-23db998f07d674c621972a769df73203b14e093a.tar.zst PeerTube-23db998f07d674c621972a769df73203b14e093a.zip |
remove unused imports
Diffstat (limited to 'client/src/app/+admin/config')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/config/shared/config.service.ts | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index ce2ea8a6c..9b3bd86f1 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { Router } from '@angular/router' | ||
3 | import { ConfigService } from '@app/+admin/config/shared/config.service' | 2 | import { ConfigService } from '@app/+admin/config/shared/config.service' |
4 | import { ConfirmService } from '@app/core' | 3 | import { ConfirmService } from '@app/core' |
5 | import { ServerService } from '@app/core/server/server.service' | 4 | import { ServerService } from '@app/core/server/server.service' |
@@ -54,7 +53,6 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { | |||
54 | protected formValidatorService: FormValidatorService, | 53 | protected formValidatorService: FormValidatorService, |
55 | private customConfigValidatorsService: CustomConfigValidatorsService, | 54 | private customConfigValidatorsService: CustomConfigValidatorsService, |
56 | private userValidatorsService: UserValidatorsService, | 55 | private userValidatorsService: UserValidatorsService, |
57 | private router: Router, | ||
58 | private notificationsService: NotificationsService, | 56 | private notificationsService: NotificationsService, |
59 | private configService: ConfigService, | 57 | private configService: ConfigService, |
60 | private serverService: ServerService, | 58 | private serverService: ServerService, |
diff --git a/client/src/app/+admin/config/shared/config.service.ts b/client/src/app/+admin/config/shared/config.service.ts index 1565774b3..7c61fe9e7 100644 --- a/client/src/app/+admin/config/shared/config.service.ts +++ b/client/src/app/+admin/config/shared/config.service.ts | |||
@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http' | |||
3 | import { Injectable } from '@angular/core' | 3 | import { Injectable } from '@angular/core' |
4 | import { CustomConfig } from '../../../../../../shared/models/server/custom-config.model' | 4 | import { CustomConfig } from '../../../../../../shared/models/server/custom-config.model' |
5 | import { environment } from '../../../../environments/environment' | 5 | import { environment } from '../../../../environments/environment' |
6 | import { RestExtractor, RestService } from '../../../shared' | 6 | import { RestExtractor } from '../../../shared' |
7 | 7 | ||
8 | @Injectable() | 8 | @Injectable() |
9 | export class ConfigService { | 9 | export class ConfigService { |
@@ -11,7 +11,6 @@ export class ConfigService { | |||
11 | 11 | ||
12 | constructor ( | 12 | constructor ( |
13 | private authHttp: HttpClient, | 13 | private authHttp: HttpClient, |
14 | private restService: RestService, | ||
15 | private restExtractor: RestExtractor | 14 | private restExtractor: RestExtractor |
16 | ) {} | 15 | ) {} |
17 | 16 | ||