aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-29 11:33:28 +0200
committerChocobozzz <me@florianbigard.com>2021-10-29 11:52:58 +0200
commiteeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7 (patch)
tree0c444d0c13df141ec7095fc141997a2b847c31d8 /client/src/app/+admin/config
parent3c10840fa90fc88fc98e8169faf4745ff6c80893 (diff)
downloadPeerTube-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.ts7
-rw-r--r--client/src/app/+admin/config/config.routes.ts2
-rw-r--r--client/src/app/+admin/config/index.ts1
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 @@
1import { Component } from '@angular/core'
2
3@Component({
4 template: '<router-outlet></router-outlet>'
5})
6export 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'
2import { EditCustomConfigComponent } from '@app/+admin/config/edit-custom-config' 2import { EditCustomConfigComponent } from '@app/+admin/config/edit-custom-config'
3import { UserRightGuard } from '@app/core' 3import { UserRightGuard } from '@app/core'
4import { UserRight } from '@shared/models' 4import { UserRight } from '@shared/models'
5import { ConfigComponent } from './config.component'
6 5
7export const ConfigRoutes: Routes = [ 6export 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 @@
1export * from './edit-custom-config' 1export * from './edit-custom-config'
2export * from './config.component'
3export * from './config.routes' 2export * from './config.routes'