Skip to content

Commit

Permalink
Remove panel provider customization for Assets and machine Learning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Mar 5, 2025
1 parent 5b56779 commit a5dbe5c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ export interface SolutionNavigation {
export const getSolutionNavigation = (core: CoreStart): SolutionNavigation => {
const panelContent = getPanelContent(core, navLinks$);
const panelContentProvider: PanelContentProvider = (id: string) => {
// Stack Management uses the default panel content
if (!id.endsWith('.stack_management')) {
// Selected nav nodes use the custom panel content
if (
id.endsWith('.explore') ||
id.endsWith('.investigations') ||
id.endsWith('.rules-landing')
) {
return { content: panelContent };
}
};
Expand Down

0 comments on commit a5dbe5c

Please sign in to comment.