mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: remove redundant config nav link (#41252)
This commit is contained in:
@@ -309,15 +309,6 @@ func (hs *HTTPServer) getNavTree(c *models.ReqContext, hasEditPerm bool) ([]*dto
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(configNodes) > 0 {
|
if len(configNodes) > 0 {
|
||||||
navTree = append(navTree, &dtos.NavLink{
|
|
||||||
Id: dtos.NavIDCfg,
|
|
||||||
Text: "Configuration",
|
|
||||||
SubTitle: "Organization: " + c.OrgName,
|
|
||||||
Icon: "cog",
|
|
||||||
Url: configNodes[0].Url,
|
|
||||||
SortWeight: dtos.WeightConfig,
|
|
||||||
Children: configNodes,
|
|
||||||
})
|
|
||||||
configNode := &dtos.NavLink{
|
configNode := &dtos.NavLink{
|
||||||
Id: dtos.NavIDCfg,
|
Id: dtos.NavIDCfg,
|
||||||
Text: "Configuration",
|
Text: "Configuration",
|
||||||
|
|||||||
Reference in New Issue
Block a user