diff options
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 27e6ee1fb..09a6f92f5 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -4,7 +4,7 @@ import { HttpModule } from '@angular/http'; | |||
4 | import { RouterModule } from '@angular/router'; | 4 | import { RouterModule } from '@angular/router'; |
5 | 5 | ||
6 | import { AuthService } from './auth'; | 6 | import { AuthService } from './auth'; |
7 | import { MenuComponent } from './menu'; | 7 | import { MenuComponent, MenuAdminComponent } from './menu'; |
8 | import { throwIfAlreadyLoaded } from './module-import-guard'; | 8 | import { throwIfAlreadyLoaded } from './module-import-guard'; |
9 | 9 | ||
10 | @NgModule({ | 10 | @NgModule({ |
@@ -13,8 +13,14 @@ import { throwIfAlreadyLoaded } from './module-import-guard'; | |||
13 | HttpModule, | 13 | HttpModule, |
14 | RouterModule | 14 | RouterModule |
15 | ], | 15 | ], |
16 | declarations: [ MenuComponent ], | 16 | declarations: [ |
17 | exports: [ MenuComponent ], | 17 | MenuComponent, |
18 | MenuAdminComponent | ||
19 | ], | ||
20 | exports: [ | ||
21 | MenuComponent, | ||
22 | MenuAdminComponent | ||
23 | ], | ||
18 | providers: [ AuthService ] | 24 | providers: [ AuthService ] |
19 | }) | 25 | }) |
20 | export class CoreModule { | 26 | export class CoreModule { |