Skip to content

Commit

Permalink
[Enterprise Search] Change icon for error in EuiCallouts
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Feb 23, 2021
1 parent 9a72090 commit 5d35892
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 5d35892

Please sign in to comment.