From 0c15dac2418e86af905db25592a1122a8f8a50f4 Mon Sep 17 00:00:00 2001 From: kunw Date: Thu, 8 Jun 2017 18:37:16 +0800 Subject: [PATCH] Fix global message display issue --- src/ui_ng/src/app/global-message/message.component.html | 2 +- src/ui_ng/src/app/global-message/message.component.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ui_ng/src/app/global-message/message.component.html b/src/ui_ng/src/app/global-message/message.component.html index 349f4b762..d99d548b6 100644 --- a/src/ui_ng/src/app/global-message/message.component.html +++ b/src/ui_ng/src/app/global-message/message.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/ui_ng/src/app/global-message/message.component.ts b/src/ui_ng/src/app/global-message/message.component.ts index 5e10ddb52..0d86ce234 100644 --- a/src/ui_ng/src/app/global-message/message.component.ts +++ b/src/ui_ng/src/app/global-message/message.component.ts @@ -33,8 +33,7 @@ export class MessageComponent implements OnInit, OnDestroy { globalMessageOpened: boolean; messageText: string = ""; timer: any = null; - hideOuter: boolean = true; - + appLevelMsgSub: Subscription; msgSub: Subscription; clearSub: Subscription; @@ -79,8 +78,6 @@ export class MessageComponent implements OnInit, OnDestroy { let hackDom: any = queryDoms[0]; hackDom.className += ' alert-global alert-global-align'; } - - this.hideOuter = false; }, 0); } @@ -138,6 +135,5 @@ export class MessageComponent implements OnInit, OnDestroy { clearTimeout(this.timer); } this.globalMessageOpened = false; - this.hideOuter = true; } } \ No newline at end of file