Skip to content

Commit

Permalink
[Enterprise Search] Change icon for error in EuiCallouts (elastic#92527
Browse files Browse the repository at this point in the history
…) (elastic#92543)

Co-authored-by: Scotty Bollinger <[email protected]>
  • Loading branch information
kibanamachine and scottybollinger authored Feb 24, 2021
1 parent fbc142f commit 740ed96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const FLASH_MESSAGE_TYPES = {
success: { color: 'success' as EuiCallOutProps['color'], icon: 'check' },
info: { color: 'primary' as EuiCallOutProps['color'], icon: 'iInCircle' },
warning: { color: 'warning' as EuiCallOutProps['color'], icon: 'alert' },
error: { color: 'danger' as EuiCallOutProps['color'], icon: 'cross' },
error: { color: 'danger' as EuiCallOutProps['color'], icon: 'alert' },
};

export const FlashMessages: React.FC = ({ children }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface IIndexingStatusErrorsProps {
export const IndexingStatusErrors: React.FC<IIndexingStatusErrorsProps> = ({ viewLinkPath }) => (
<EuiCallOut
color="danger"
iconType="cross"
iconType="alert"
title="There was an error"
data-test-subj="IndexingStatusErrors"
>
Expand Down

0 comments on commit 740ed96

Please sign in to comment.