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()
|
this.userNotificationService.countUnreadNotifications()
|
||||||
.subscribe({
|
.subscribe({
|
||||||
next: result => {
|
next: result => {
|
||||||
this.unreadNotifications = 102
|
this.unreadNotifications = result
|
||||||
this.subscribeToNotifications()
|
this.subscribeToNotifications()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue