about summary refs log tree commit diff
path: root/src/state/models/feeds/notifications.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-08 09:10:59 -0800
committerGitHub <noreply@github.com>2023-11-08 09:10:59 -0800
commite75b2d508baf9b19e7340657ac2951e9f057b735 (patch)
tree2c9647d9dc3d47261e4e838313c4b815f622fb6a /src/state/models/feeds/notifications.ts
parent74f8390f1d879350ebb6516fade2b1d83d1601e7 (diff)
downloadvoidsky-e75b2d508baf9b19e7340657ac2951e9f057b735.tar.zst
Move invite-state to new persistence + context and replace the notifications with just showing uses in the modal (#1840)
Diffstat (limited to 'src/state/models/feeds/notifications.ts')
-rw-r--r--src/state/models/feeds/notifications.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/feeds/notifications.ts b/src/state/models/feeds/notifications.ts
index 272d52881..5f34feb66 100644
--- a/src/state/models/feeds/notifications.ts
+++ b/src/state/models/feeds/notifications.ts
@@ -304,7 +304,7 @@ export class NotificationsFeedModel {
   }
 
   get unreadCountLabel(): string {
-    const count = this.unreadCount + this.rootStore.invitedUsers.numNotifs
+    const count = this.unreadCount
     if (count >= MAX_VISIBLE_NOTIFS) {
       return `${MAX_VISIBLE_NOTIFS}+`
     }