Navigation: remove redundant config nav link (#41252)

This commit is contained in:
Agnès Toulet 2021-11-03 14:07:58 +01:00 committed by GitHub
parent 4c727248a3
commit 0997065e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,15 +309,6 @@ func (hs *HTTPServer) getNavTree(c *models.ReqContext, hasEditPerm bool) ([]*dto
}
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{
Id: dtos.NavIDCfg,
Text: "Configuration",