Skip to content

Commit

Permalink
[Metrics] Update ActionsMenu create alert styles (#102316)
Browse files Browse the repository at this point in the history
* [Metrics] Add divider in the actions menu
* [Metrics] Add color and icon to the alert link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
formgeist and kibanamachine authored Jun 22, 2021
1 parent 62fc27b commit 3860486
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
SectionSubtitle,
SectionLinks,
SectionLink,
ActionMenuDivider,
} from '../../../../../../../observability/public';
import { useLinkProps } from '../../../../../hooks/use_link_props';

Expand Down Expand Up @@ -173,7 +174,10 @@ export const NodeContextMenu: React.FC<Props & { theme?: EuiTheme }> = withTheme
<SectionLink {...nodeDetailMenuItem} />
<SectionLink data-test-subj="viewApmTracesContextMenuItem" {...apmTracesMenuItem} />
<SectionLink {...uptimeMenuItem} />
<SectionLink {...createAlertMenuItem} />
</SectionLinks>
<ActionMenuDivider />
<SectionLinks>
<SectionLink iconType={'bell'} color={'primary'} {...createAlertMenuItem} />
</SectionLinks>
</Section>
</div>
Expand Down

0 comments on commit 3860486

Please sign in to comment.