mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 12:12:21 +08:00
fontend styles updated
This commit is contained in:
2
grafana
2
grafana
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