Use bookmark icon for Saved Items, add support for solid bookmark icon (#46775)

* Use bookmark icon for Saved Items, add support for solid bookmark icon

* Add some unit tests

* Refactor utils into own file

* Update test title

* Fix import

* consistent function style
This commit is contained in:
Ashley Harrison
2022-03-21 13:01:43 +00:00
committed by GitHub
parent 4631bb2c54
commit 5f67d78219
8 changed files with 75 additions and 39 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ func (hs *HTTPServer) getNavTree(c *models.ReqContext, hasEditPerm bool) ([]*dto
navTree = append(navTree, &dtos.NavLink{
Text: "Saved Items",
Id: "saved-items",
Icon: "heart",
Icon: "bookmark",
SortWeight: dtos.WeightSavedItems,
Section: dtos.NavSectionCore,
Children: savedItemsLinks,