[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
This commit is contained in:
k.triantafyllou 2019-03-19 15:10:10 +00:00
parent a5d711b6c7
commit 40a9ed5d79
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<td class="uk-text-left uk-width-1-3@xl uk-width-1-3@m uk-width-expand@s">
<button [(colorPicker)]="layout.color" [style.background]="layout.color"
id="color" class="uk-icon-button"
(click)="change()">
(click)="change()">`
</button>
</td>
<td for="color" class="uk-text uk-width-1-3@xl uk-width-1-3@m uk-width-expand@s uk-text-left" [style.color]="layout.color">Change your community color</td>

View File

@ -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 {