fontend styles updated
This commit is contained in:
1 parent
68a6a1bc15
commit
bd470abcf0
2 files changed
+5
-1
No files matched your search
+1
-1
Submodule grafana updated: 7fef460fa2...dfef4727b6.
@@ -23,6 +23,10 @@ func setIndexViewData(c *middleware.Context) error {
|
||||
IsGrafanaAdmin: c.IsGrafanaAdmin,
|
||||
}
|
||||
|
||||
if len(currentUser.Name) == 0 {
|
||||
currentUser.Name = currentUser.Login
|
||||
}
|
||||
|
||||
c.Data["User"] = currentUser
|
||||
c.Data["Settings"] = settings
|
||||
c.Data["AppUrl"] = setting.AppUrl
|
||||
|
||||
Reference in new issue
Block a user