aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go
index f5d78aa..2504f43 100644
--- a/service/service.go
+++ b/service/service.go
@@ -424,6 +424,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, c *model.Client,
commonData := svc.getCommonData(ctx, c, "notifications")
commonData.AutoRefresh = c.Session.Settings.AutoRefreshNotifications
commonData.Target = "main"
+ commonData.Count = unreadCount
data := &renderer.NotificationData{
Notifications: notifications,
UnreadCount: unreadCount,