diff options
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' |