fix: sidemenu profile main text is now username instead of name

This commit is contained in:
Torkel Ödegaard
2017-12-15 13:03:07 +01:00
parent 7bec195599
commit fdf4bad1b7
3 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -120,8 +120,8 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
if c.IsSignedIn {
profileNode := &dtos.NavLink{
Text: c.SignedInUser.Name,
SubTitle: c.SignedInUser.Login,
Text: c.SignedInUser.Login,
SubTitle: c.SignedInUser.Name,
Id: "profile",
Img: data.User.GravatarUrl,
Url: setting.AppSubUrl + "/profile",