diff options
author | r <r@freesoftwareextremist.com> | 2020-02-26 10:27:17 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-02-26 10:27:17 +0000 |
commit | a57a142328f02908419854e90099bcd275a1f606 (patch) | |
tree | 21b99a1554da214345b96b61246c5dde3e72bcef /service | |
parent | 4ac5022cf1aa80e633f3fd0b6fe8d4515110720e (diff) | |
download | bloat-a57a142328f02908419854e90099bcd275a1f606.tar.gz bloat-a57a142328f02908419854e90099bcd275a1f606.zip |
Add notification count in page title
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 1 |
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, |