aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/service.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/service/service.go b/service/service.go
index 27ee6bf..8a262b6 100644
--- a/service/service.go
+++ b/service/service.go
@@ -478,7 +478,12 @@ func (svc *service) getNavbarTemplateData(ctx context.Context, client io.Writer,
}
}
- data = renderer.NewNavbarTemplateData(notificationCount)
+ u, err := c.GetAccountCurrentUser(ctx)
+ if err != nil {
+ return
+ }
+
+ data = renderer.NewNavbarTemplateData(notificationCount, u)
return
}