Plugins: Add support for includes' icon (#29416)

* Plugins: Add support for includes' icon

* Docs: Add plugin includes' icon reference
This commit is contained in:
Joan López de la Franca Beltran
2020-11-27 10:48:37 +01:00
committed by GitHub
parent 26a41ecc1c
commit c22a39ab2d
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -104,6 +104,7 @@ func getAppLinks(c *models.ReqContext) ([]*dtos.NavLink, error) {
Text: include.Name,
}
}
link.Icon = include.Icon
appLink.Children = append(appLink.Children, link)
}