Skip to content

Commit

Permalink
feat: update category (#1114)
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe authored Sep 30, 2024
1 parent 0f25097 commit bdda00e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ export class AlertingPlugin implements Plugin<void, AlertingStart, AlertingSetup
}
])

core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS.all, [
{
id: PLUGIN_NAME,
category: DEFAULT_APP_CATEGORIES.detect,
showInAllNavGroup: false
}
])

// channels route
core.application.register({
id: ALERTS_NAV_ID,
Expand Down Expand Up @@ -177,6 +185,11 @@ export class AlertingPlugin implements Plugin<void, AlertingStart, AlertingSetup
DEFAULT_NAV_GROUPS['security-analytics'],
navLinks
);

core.chrome.navGroup.addNavLinksToGroup(
DEFAULT_NAV_GROUPS.all,
navLinks
);
}

setAssistantDashboards(assistantDashboards || { getFeatureStatus: () => ({ chat: false, alertInsight: false }) });
Expand Down

0 comments on commit bdda00e

Please sign in to comment.