Skip to content

Commit

Permalink
fix status icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Nov 27, 2019
1 parent 8f207d5 commit 71594a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
22 changes: 0 additions & 22 deletions src/core/server/saved_objects/service/lib/filter_utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,6 @@ const mockMappings = {
},
},
},
alert: {
properties: {
actions: {
type: 'nested',
properties: {
group: {
type: 'keyword',
},
actionRef: {
type: 'keyword',
},
actionTypeId: {
type: 'keyword',
},
params: {
enabled: false,
type: 'object',
},
},
},
},
},
hiddenType: {
properties: {
description: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const RuleStatusIcon = memo<RuleStatusIconProps>(({ name, type }) => {
return (
<RuleStatusIconStyled>
<EuiAvatar color={color} name={type === 'valid' ? '' : name} size="l" />
{type === 'valid' ? <EuiIcon type="check" color="white" size="l" /> : null}
{type === 'valid' ? <EuiIcon type="check" color={theme.euiColorEmptyShade} size="l" /> : null}
</RuleStatusIconStyled>
);
});

0 comments on commit 71594a8

Please sign in to comment.