X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fcore%2Fcore.module.ts;h=09a6f92f5542f71e6a3e1be6269a06959d95b0d4;hb=b99290b1d5d736083513fb8f66e91f61bfe07e0b;hp=27e6ee1fb765b2d73aa5e392db9f7001a79bcfc9;hpb=11ac88de40215783835cf6e6259ff0f6cee258dd;p=github%2FChocobozzz%2FPeerTube.git 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'; import { RouterModule } from '@angular/router'; import { AuthService } from './auth'; -import { MenuComponent } from './menu'; +import { MenuComponent, MenuAdminComponent } from './menu'; import { throwIfAlreadyLoaded } from './module-import-guard'; @NgModule({ @@ -13,8 +13,14 @@ import { throwIfAlreadyLoaded } from './module-import-guard'; HttpModule, RouterModule ], - declarations: [ MenuComponent ], - exports: [ MenuComponent ], + declarations: [ + MenuComponent, + MenuAdminComponent + ], + exports: [ + MenuComponent, + MenuAdminComponent + ], providers: [ AuthService ] }) export class CoreModule {