Footer: Display Grafana edition (#21717)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
Emil Tullstedt
2020-01-27 09:24:44 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 84ef0ebb17
commit 3fabbbff4d
9 changed files with 60 additions and 27 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
Children: []*dtos.NavLink{},
})
hs.HooksService.RunIndexDataHooks(&data)
hs.HooksService.RunIndexDataHooks(&data, c)
sort.SliceStable(data.NavTree, func(i, j int) bool {
return data.NavTree[i].SortWeight < data.NavTree[j].SortWeight