mirror of https://github.com/Chocobozzz/PeerTube
Fix notification number
parent
9625be3857
commit
4de99f22df
|
@ -38,7 +38,7 @@ export class NotificationComponent implements OnInit, OnDestroy {
|
|||
this.userNotificationService.countUnreadNotifications()
|
||||
.subscribe({
|
||||
next: result => {
|
||||
this.unreadNotifications = 102
|
||||
this.unreadNotifications = result
|
||||
this.subscribeToNotifications()
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue