diff options
Diffstat (limited to 'usecaseui-portal/src/app/app.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/app.component.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/app.component.ts b/usecaseui-portal/src/app/app.component.ts index 7abec444..c839519c 100644 --- a/usecaseui-portal/src/app/app.component.ts +++ b/usecaseui-portal/src/app/app.component.ts @@ -19,6 +19,7 @@ import { ServiceListService } from "./core/services/serviceList.service"; import { HomesService } from "./core/services/homes.service"; import { NavigationEnd, Router } from '@angular/router'; import 'rxjs/add/operator/map'; +import { menu } from './const/index' @Component({ selector: 'app-root', @@ -28,10 +29,15 @@ import 'rxjs/add/operator/map'; export class AppComponent { public url: string = 'home'; + menuItem: Object = menu.MENU_ITEM; + constructor(private translate: TranslateService, private myhttp: HomesService, private router: Router, ) { this.currentLanguageGet(); this.getUrl(); } + ngOnInit () { + console.log(this.menuItem) + } // Get the current routing path getUrl() { |