diff --git a/frontend/src/app/modules/page/notifications/core/notification-helper.service.ts b/frontend/src/app/modules/page/notifications/core/notification-helper.service.ts index f687662415..95d3881fb4 100644 --- a/frontend/src/app/modules/page/notifications/core/notification-helper.service.ts +++ b/frontend/src/app/modules/page/notifications/core/notification-helper.service.ts @@ -54,6 +54,9 @@ export class NotificationHelperService { } modalCallback(status: NotificationStatus, id: string, reason?: string): Observable { + console.log(status, "status"); + console.log(id, "id"); + console.log(reason, "reason"); switch (status) { case NotificationStatus.ACKNOWLEDGED: return this.notificationsFacade.acknowledgeNotification(id); diff --git a/frontend/src/app/modules/page/notifications/detail/notification-detail.component.ts b/frontend/src/app/modules/page/notifications/detail/notification-detail.component.ts index 975e6103b3..ff80d00e3f 100644 --- a/frontend/src/app/modules/page/notifications/detail/notification-detail.component.ts +++ b/frontend/src/app/modules/page/notifications/detail/notification-detail.component.ts @@ -196,7 +196,7 @@ export class NotificationDetailComponent implements AfterViewInit, OnDestroy { } private selectedNotificationBasedOnUrl(): void { - const notificationId = this.route.snapshot.paramMap.get('alertId'); + const notificationId = this.route.snapshot.paramMap.get('notificationId'); this.notificationsFacade .getNotification(notificationId) .pipe(