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 authored and GitHub committed 2022-09-01 10:28:50 +01:00
1 parent 7efefbaece
commit f15ce633c9
13 files changed
+270 -221

No files matched your search

+1
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"`
+1
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,
}
}