From 40a9ed5d79be665ce5dee33ce2107ab916820725 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 19 Mar 2019 15:10:10 +0000 Subject: [PATCH] [Trunk|Admin]: Fix Notifications on 404 error. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@55048 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/pages/community/layout/community-layout.component.html | 2 +- .../usernotifications/manage-user-notifications.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/community/layout/community-layout.component.html b/src/app/pages/community/layout/community-layout.component.html index 335d678..8aca658 100644 --- a/src/app/pages/community/layout/community-layout.component.html +++ b/src/app/pages/community/layout/community-layout.component.html @@ -9,7 +9,7 @@ Change your community color diff --git a/src/app/pages/usernotifications/manage-user-notifications.component.ts b/src/app/pages/usernotifications/manage-user-notifications.component.ts index 09baddc..32c9498 100644 --- a/src/app/pages/usernotifications/manage-user-notifications.component.ts +++ b/src/app/pages/usernotifications/manage-user-notifications.component.ts @@ -76,7 +76,7 @@ export class ManageUserNotificationsComponent implements OnInit { this.showLoading = false; }, error => { - if (error.status === '404') { + if (error.status === 404) { this.initialUserNotifications = this.initiateUserNotifications(); this.userNotifications = JSON.parse(JSON.stringify( this.initialUserNotifications )); } else {