mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: Show starred items in the NavBar (#49219)
* switch saved items to starred items * hook up redux properly * Better query + hook up DashList * update initial state so it's never undefined * update GetDashboard call * use new star service * add scroll + maxwidth to navbar hover menu, sort starred items alphabetically * increase height, revert changes to CustomScrollbar * ellipsis! * update starred dashboard name in navtree * sort after renaming * limit to first 50 starred dashboards found
This commit is contained in:
@@ -144,7 +144,7 @@ export default (navBarTree: NavModelItem[]) => {
|
||||
|
||||
navBarActionMap.forEach((navBarAction) => {
|
||||
const navBarItem = navBarTree.find((navBarItem) => navBarItem.url === navBarAction.url);
|
||||
if (navBarItem && !navBarItem.hideFromNavbar) {
|
||||
if (navBarItem) {
|
||||
navBarActions.push(...navBarAction.actions);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user