summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app.component.ts
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2021-01-08 09:16:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-08 09:16:00 +0000
commitef6cdb416e078ba33c772299f79cca8680b1d703 (patch)
treea5d455025f25e2b13816af42c9b72a4ea4d381d5 /usecaseui-portal/src/app/app.component.ts
parent0356c8ae8394adbb28123ddf4e727fc5b64c8fef (diff)
parent5bead046179e8e00c2cc4681992a6ffe24e4b97e (diff)
Merge "feat: embedding vue framwork in angular" into newarc
Diffstat (limited to 'usecaseui-portal/src/app/app.component.ts')
-rw-r--r--usecaseui-portal/src/app/app.component.ts6
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() {