From a57a142328f02908419854e90099bcd275a1f606 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 26 Feb 2020 10:27:17 +0000 Subject: Add notification count in page title --- service/service.go | 1 + 1 file changed, 1 insertion(+) (limited to 'service') 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, -- cgit v1.2.3