[AAE-2537] - fix mark as read notification (#5667)

* [AAE-2537] - fix mark as read notification

* lint

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
This commit is contained in:
Silviu Popa
2020-05-13 03:20:19 +03:00
committed by GitHub
parent 171089d1d6
commit f850d7ed38
2 changed files with 16 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ export class NotificationHistoryComponent implements OnDestroy {
}
markAsRead() {
this.storageService.setItem('notifications', '');
this.storageService.removeItem('notifications');
this.notifications = [];
}