mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Bookmarks: Add field for pinNavItems toggle to grafana_navigation_item_clicked interaction (#91184)
This commit is contained in:
@@ -39,6 +39,7 @@ export const enrichWithInteractionTracking = (item: NavModelItem, megaMenuDocked
|
||||
path: newItem.url ?? newItem.id,
|
||||
menuIsDocked: megaMenuDockedState,
|
||||
itemIsBookmarked: Boolean(config.featureToggles.pinNavItems && newItem?.parentItem?.id === 'bookmarks'),
|
||||
bookmarkToggleOn: Boolean(config.featureToggles.pinNavItems),
|
||||
});
|
||||
onClick?.();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user