summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components/notification/notification.component.ts
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-06 21:34:38 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-06 21:34:53 +0800
commit5bdc5c68c3e7ebc24a7a5ca1e379c1e4ecead2fd (patch)
treea13e20ac6783baef435399991fca1162904ae3e7 /usecaseui-portal/src/app/shared/components/notification/notification.component.ts
parent75baba3816940c053bb00b208e37b5b0887d9b9c (diff)
feat: Added tooltip for failed requests
Change-Id: Iab417a0f2c641cde56c06abef6010d5a813f2935 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/shared/components/notification/notification.component.ts')
-rw-r--r--usecaseui-portal/src/app/shared/components/notification/notification.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/shared/components/notification/notification.component.ts b/usecaseui-portal/src/app/shared/components/notification/notification.component.ts
index de0df083..18f91b35 100644
--- a/usecaseui-portal/src/app/shared/components/notification/notification.component.ts
+++ b/usecaseui-portal/src/app/shared/components/notification/notification.component.ts
@@ -9,6 +9,7 @@ import { NzNotificationService } from 'ng-zorro-antd';
export class NotificationComponent implements OnInit {
@ViewChild('notificationModel')notificationModel: any;
@Input()isServicesList: boolean;
+ @Input()parentComponent: string;
@Input()customerSelected: object;
notificationAttributes: {
@@ -21,8 +22,7 @@ export class NotificationComponent implements OnInit {
constructor(private notification: NzNotificationService) { }
- ngOnInit() {
- }
+ ngOnInit() { }
setNotification({ title, imgPath, action, status, name }):void{
this.notificationAttributes = { title, imgPath, action, status, name };