diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-14 10:03:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-14 10:03:18 +0100 |
commit | 4de99f22dfc4f00587eeac5bc929f462437315e4 (patch) | |
tree | f5e3f069e25fd0f6cfd62b8299b2967f39f8e9b5 /client/src/app/menu/notification.component.ts | |
parent | 9625be38570b9c434f0fa7d6217d3d0de9e65ee6 (diff) | |
download | PeerTube-4de99f22dfc4f00587eeac5bc929f462437315e4.tar.gz PeerTube-4de99f22dfc4f00587eeac5bc929f462437315e4.tar.zst PeerTube-4de99f22dfc4f00587eeac5bc929f462437315e4.zip |
Fix notification number
Diffstat (limited to 'client/src/app/menu/notification.component.ts')
-rw-r--r-- | client/src/app/menu/notification.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/menu/notification.component.ts b/client/src/app/menu/notification.component.ts index dc88d5a3c..0beac69be 100644 --- a/client/src/app/menu/notification.component.ts +++ b/client/src/app/menu/notification.component.ts | |||
@@ -38,7 +38,7 @@ export class NotificationComponent implements OnInit, OnDestroy { | |||
38 | this.userNotificationService.countUnreadNotifications() | 38 | this.userNotificationService.countUnreadNotifications() |
39 | .subscribe({ | 39 | .subscribe({ |
40 | next: result => { | 40 | next: result => { |
41 | this.unreadNotifications = 102 | 41 | this.unreadNotifications = result |
42 | this.subscribeToNotifications() | 42 | this.subscribeToNotifications() |
43 | }, | 43 | }, |
44 | 44 | ||