mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fontend styles updated
This commit is contained in:
parent
68a6a1bc15
commit
bd470abcf0
2
grafana
2
grafana
@ -1 +1 @@
|
||||
Subproject commit 7fef460fa2b6034429b205dc63d9b9f298f43fb4
|
||||
Subproject commit dfef4727b689d408b86d75c575646705bac79496
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user