aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config
diff options
context:
space:
mode:
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'