diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-29 11:33:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-29 11:52:58 +0200 |
commit | eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7 (patch) | |
tree | 0c444d0c13df141ec7095fc141997a2b847c31d8 /client/src/app/+admin/config | |
parent | 3c10840fa90fc88fc98e8169faf4745ff6c80893 (diff) | |
download | PeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.tar.gz PeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.tar.zst PeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.zip |
Remove useless components
Diffstat (limited to 'client/src/app/+admin/config')
-rw-r--r-- | client/src/app/+admin/config/config.component.ts | 7 | ||||
-rw-r--r-- | client/src/app/+admin/config/config.routes.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/config/index.ts | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/client/src/app/+admin/config/config.component.ts b/client/src/app/+admin/config/config.component.ts deleted file mode 100644 index e0eb77278..000000000 --- a/client/src/app/+admin/config/config.component.ts +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | import { Component } from '@angular/core' | ||
2 | |||
3 | @Component({ | ||
4 | template: '<router-outlet></router-outlet>' | ||
5 | }) | ||
6 | export class ConfigComponent { | ||
7 | } | ||
diff --git a/client/src/app/+admin/config/config.routes.ts b/client/src/app/+admin/config/config.routes.ts index 1b76b29cc..6d255ac46 100644 --- a/client/src/app/+admin/config/config.routes.ts +++ b/client/src/app/+admin/config/config.routes.ts | |||
@@ -2,12 +2,10 @@ import { Routes } from '@angular/router' | |||
2 | import { EditCustomConfigComponent } from '@app/+admin/config/edit-custom-config' | 2 | import { EditCustomConfigComponent } from '@app/+admin/config/edit-custom-config' |
3 | import { UserRightGuard } from '@app/core' | 3 | import { UserRightGuard } from '@app/core' |
4 | import { UserRight } from '@shared/models' | 4 | import { UserRight } from '@shared/models' |
5 | import { ConfigComponent } from './config.component' | ||
6 | 5 | ||
7 | export const ConfigRoutes: Routes = [ | 6 | export const ConfigRoutes: Routes = [ |
8 | { | 7 | { |
9 | path: 'config', | 8 | path: 'config', |
10 | component: ConfigComponent, | ||
11 | canActivate: [ UserRightGuard ], | 9 | canActivate: [ UserRightGuard ], |
12 | data: { | 10 | data: { |
13 | userRight: UserRight.MANAGE_CONFIGURATION | 11 | userRight: UserRight.MANAGE_CONFIGURATION |
diff --git a/client/src/app/+admin/config/index.ts b/client/src/app/+admin/config/index.ts index b47ebf8db..898e92546 100644 --- a/client/src/app/+admin/config/index.ts +++ b/client/src/app/+admin/config/index.ts | |||
@@ -1,3 +1,2 @@ | |||
1 | export * from './edit-custom-config' | 1 | export * from './edit-custom-config' |
2 | export * from './config.component' | ||
3 | export * from './config.routes' | 2 | export * from './config.routes' |