]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/menu/notification.component.ts
Use + when having more than 99 notifications
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / notification.component.ts
index ac9c7999153e2324c27b3a25d5fc9e2a3e9e284a..dc88d5a3c3e5ca68d4a71d166e78ecdc000efdec 100644 (file)
@@ -38,7 +38,7 @@ export class NotificationComponent implements OnInit, OnDestroy {
     this.userNotificationService.countUnreadNotifications()
         .subscribe({
           next: result => {
-            this.unreadNotifications = Math.min(result, 99) // Limit number to 99
+            this.unreadNotifications = 102
             this.subscribeToNotifications()
           },