Navigation: Add the IsNew badge to the IRM menu item (#101926)
add the `IsNew` badge to the IRM menu item
This commit is contained in:
@@ -239,6 +239,9 @@ func (s *ServiceImpl) addPluginToSection(c *contextmodel.ReqContext, treeRoot *n
|
||||
alertsAndIncidentsChildren = append(alertsAndIncidentsChildren, alertingNode)
|
||||
treeRoot.RemoveSection(alertingNode)
|
||||
}
|
||||
if appLink.Id == "plugin-page-grafana-irm-app" {
|
||||
appLink.IsNew = true
|
||||
}
|
||||
alertsAndIncidentsChildren = append(alertsAndIncidentsChildren, appLink)
|
||||
treeRoot.AddSection(&navtree.NavLink{
|
||||
Text: "Alerts & IRM",
|
||||
|
||||
Reference in New Issue
Block a user