]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/menu/notification.component.ts
Fix action dropdown height
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / notification.component.ts
index ac9c7999153e2324c27b3a25d5fc9e2a3e9e284a..0beac69be00aa333d83e2eb3ef386873cccf44ee 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 = result
             this.subscribeToNotifications()
           },