From 27f6d69c30478dbf4e374fd5c8a87c83fcb9e2f6 Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 16 Aug 2021 14:00:05 +0300 Subject: [PATCH] removed not needed logs --- .../components/notifications/notifications.component.ts | 7 +------ apps/red-ui/src/assets/i18n/en.json | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/apps/red-ui/src/app/components/notifications/notifications.component.ts b/apps/red-ui/src/app/components/notifications/notifications.component.ts index 072cfee94..fe93e3d1b 100644 --- a/apps/red-ui/src/app/components/notifications/notifications.component.ts +++ b/apps/red-ui/src/app/components/notifications/notifications.component.ts @@ -37,8 +37,6 @@ export class NotificationsComponent { ) { this._notificationControllerService.getNotifications(false).subscribe((response: NotificationResponse) => { this.notifications = response.notifications; - console.log(this.notifications); - console.log(JSON.stringify(this.notifications)); this._groupNotifications(this.notifications); }); } @@ -62,14 +60,11 @@ export class NotificationsComponent { } toggleRead(notification: Notification, $event) { - console.log('notification: ', notification); $event.stopPropagation(); notification.readDate = !notification.readDate ? moment().format('YYYY-MM-DDTHH:mm:ss Z') : null; const ids = [notification.notificationId]; const isRead = !!notification.readDate; - this._notificationControllerService.toggleNotificationRead(ids, isRead).subscribe(response => { - console.log('response: ', response); - }); + this._notificationControllerService.toggleNotificationRead(ids, isRead); } private _getDossierHref(dossierId: string) { diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json index f0d43fdf1..0ce22733a 100644 --- a/apps/red-ui/src/assets/i18n/en.json +++ b/apps/red-ui/src/assets/i18n/en.json @@ -1169,9 +1169,9 @@ "sep": "Sep." }, "notification": { - "assign-approver": "You have been assigned as approver for file in the dossier!", - "assign-reviewer": "You have been assigned as reviewer for file in the dossier!", - "unassigned-from-file": "You have been unassigned from file in the dossier!" + "assign-approver": "You have been assigned as approver for file in the dossier!", + "assign-reviewer": "You have been assigned as reviewer for file in the dossier!", + "unassigned-from-file": "You have been unassigned from file in the dossier!" }, "notifications": { "mark-read": "Mark as read",