From 544dc41453c524bec4273dda5010897eda566251 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Tue, 3 Sep 2019 09:57:16 +0800 Subject: bug: menu bar bug fix Change-Id: I8520944b7689744c026411178360785ef0fd9ed7 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber --- usecaseui-portal/src/app/app.component.less | 2 +- usecaseui-portal/src/app/app.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usecaseui-portal/src/app/app.component.less b/usecaseui-portal/src/app/app.component.less index 78cc4e44..ed7ad4f1 100644 --- a/usecaseui-portal/src/app/app.component.less +++ b/usecaseui-portal/src/app/app.component.less @@ -46,7 +46,7 @@ nz-layout { left: 0; z-index: 100; height: 100vh; - background: #313449 url('/assets/images/UUIMenuBar.png') no-repeat; + background: #313449 url('assets/images/UUIMenuBar.png') no-repeat; background-size: 100%; .siderContent{ width: 100%; diff --git a/usecaseui-portal/src/app/app.component.ts b/usecaseui-portal/src/app/app.component.ts index 2642b3ed..8e3b41e9 100644 --- a/usecaseui-portal/src/app/app.component.ts +++ b/usecaseui-portal/src/app/app.component.ts @@ -37,9 +37,9 @@ export class AppComponent { getUrl(){ this.router.events.map(event=> { if(event instanceof NavigationEnd){ - this.url = event['url'].slice(1) + this.url = event['urlAfterRedirects'].slice(1) } - }).subscribe(event=>{}) + }).subscribe(event=>{}) } //209.05.08 Get the currentLanguage -- cgit 1.2.3-korg