aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-19 18:08:21 +0100
committerRigel Kent <sendmemail@rigelk.eu>2019-12-19 18:08:21 +0100
commitc5c09c1e5017844027ef77785f2d0406fa6b7039 (patch)
tree0735a01058bcd2ec3d5ae861ba35f21a1974fa93 /client/src/app/menu
parent10475dea7d2343c13014134b33bc75f7c59ac992 (diff)
downloadPeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.tar.gz
PeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.tar.zst
PeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.zip
fix deleted comment layout and its notification display
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/avatar-notification.component.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/menu/avatar-notification.component.ts b/client/src/app/menu/avatar-notification.component.ts
index 680129a48..ff830ac1c 100644
--- a/client/src/app/menu/avatar-notification.component.ts
+++ b/client/src/app/menu/avatar-notification.component.ts
@@ -65,6 +65,13 @@ export class AvatarNotificationComponent implements OnInit, OnDestroy {
65 65
66 markAllAsRead () { 66 markAllAsRead () {
67 this.userNotificationService.markAllAsRead() 67 this.userNotificationService.markAllAsRead()
68 .subscribe(
69 () => {
70 this.unreadNotifications = 0
71 },
72
73 err => this.notifier.error(err.message)
74 )
68 } 75 }
69 76
70 private async subscribeToNotifications () { 77 private async subscribeToNotifications () {