Navigation: Don't round app plugin icon images (#54543)

* Navigation: Don't round app plugin icon images

* round icon
This commit is contained in:
Josh Hunt
2022-09-01 10:28:50 +01:00
committed by GitHub
parent 7efefbaece
commit f15ce633c9
13 changed files with 270 additions and 221 deletions

View File

@@ -71,6 +71,7 @@ type NavLink struct {
HideFromMenu bool `json:"hideFromMenu,omitempty"`
HideFromTabs bool `json:"hideFromTabs,omitempty"`
ShowIconInNavbar bool `json:"showIconInNavbar,omitempty"`
RoundIcon bool `json:"roundIcon,omitempty"`
Children []*NavLink `json:"children,omitempty"`
HighlightText string `json:"highlightText,omitempty"`
HighlightID string `json:"highlightId,omitempty"`

View File

@@ -74,6 +74,7 @@ func (hs *HTTPServer) getProfileNode(c *models.ReqContext) *dtos.NavLink {
Section: dtos.NavSectionConfig,
SortWeight: dtos.WeightProfile,
Children: children,
RoundIcon: true,
}
}