mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Profile: Remove sign-out tab from profile page (#20802)
* Profile: Remove sign-out tab * Fixed formatting * Updated formatting
This commit is contained in:
parent
a7a9bcbcbb
commit
87d19787b4
@ -177,7 +177,12 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
|
|||||||
if !setting.DisableSignoutMenu {
|
if !setting.DisableSignoutMenu {
|
||||||
// add sign out first
|
// add sign out first
|
||||||
profileNode.Children = append(profileNode.Children, &dtos.NavLink{
|
profileNode.Children = append(profileNode.Children, &dtos.NavLink{
|
||||||
Text: "Sign out", Id: "sign-out", Url: setting.AppSubUrl + "/logout", Icon: "fa fa-fw fa-sign-out", Target: "_self",
|
Text: "Sign out",
|
||||||
|
Id: "sign-out",
|
||||||
|
Url: setting.AppSubUrl + "/logout",
|
||||||
|
Icon: "fa fa-fw fa-sign-out",
|
||||||
|
Target: "_self",
|
||||||
|
HideFromTabs: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user