diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-13 14:25:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-13 14:25:16 +0100 |
commit | 587aa74ac3d8f2e1fdd8754d60c7a8c38ce30b88 (patch) | |
tree | 8a581c58c18045afe2ff550fb95b569684bcbb85 /client/src/app/menu/notification.component.ts | |
parent | 166311358d82657a15520ef35cd99e4fb82ed56f (diff) | |
download | PeerTube-587aa74ac3d8f2e1fdd8754d60c7a8c38ce30b88.tar.gz PeerTube-587aa74ac3d8f2e1fdd8754d60c7a8c38ce30b88.tar.zst PeerTube-587aa74ac3d8f2e1fdd8754d60c7a8c38ce30b88.zip |
Use + when having more than 99 notifications
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 ac9c79991..dc88d5a3c 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 = Math.min(result, 99) // Limit number to 99 | 41 | this.unreadNotifications = 102 |
42 | this.subscribeToNotifications() | 42 | this.subscribeToNotifications() |
43 | }, | 43 | }, |
44 | 44 | ||